Skip to content

Commit d841967

Browse files
author
Alexander Refsum Jensenius
committed
Update GitHub Actions to latest versions
- Update actions/upload-pages-artifact from v2 to v3 (fixes deprecation warning) - Update actions/configure-pages from v3 to v4 - Update actions/deploy-pages from v2 to v4 - Update actions/setup-python from v4 to v5 in all workflows - Update actions/checkout from v3 to v4 in test workflow - Update FedericoCarboni/setup-ffmpeg from v2 to v3 - Update stefanzweifel/git-auto-commit-action from v2.3.0 to v5 - Resolves all deprecated action warnings
1 parent 3d9db86 commit d841967

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: setup-ffmpeg
2828

2929
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626

2727
- name: Setup Python
28-
uses: actions/setup-python@v4
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: '3.9'
3131

@@ -38,10 +38,10 @@ jobs:
3838
run: mkdocs build --clean
3939

4040
- name: Setup Pages
41-
uses: actions/configure-pages@v3
41+
uses: actions/configure-pages@v4
4242

4343
- name: Upload artifact
44-
uses: actions/upload-pages-artifact@v2
44+
uses: actions/upload-pages-artifact@v3
4545
with:
4646
path: './site'
4747

@@ -55,4 +55,4 @@ jobs:
5555
steps:
5656
- name: Deploy to GitHub Pages
5757
id: deployment
58-
uses: actions/deploy-pages@v2
58+
uses: actions/deploy-pages@v4

.github/workflows/test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,26 @@ jobs:
1010
python-version: ["3.10"]
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: ${{ matrix.python-version }}
1419

1520
- name: Update documentation files
1621
run: |
1722
pip install handsdown==1.1.0
1823
handsdown --external https://github.com/fourMs/MGT-python --branch master
1924
20-
- uses: stefanzweifel/git-auto-commit-action@v2.3.0
25+
- uses: stefanzweifel/git-auto-commit-action@v5
2126
with:
2227
commit_message: Update documentation
23-
branch: ${{ github.ref }}
2428
env:
2529
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2630

2731
- name: Install FFmpeg and FFprobe
28-
uses: FedericoCarboni/setup-ffmpeg@v2
32+
uses: FedericoCarboni/setup-ffmpeg@v3
2933
id: setup-ffmpeg
3034

3135
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)