Skip to content

Commit 74d8fff

Browse files
committed
Update GitHub Actions to latest major versions
1 parent ac29096 commit 74d8fff

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

.github/workflows/docs.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Cancel Previous Runs
16-
uses: styfle/cancel-workflow-action@0.11.0
16+
uses: styfle/cancel-workflow-action@0.12.1
1717
with:
1818
access_token: ${{ github.token }}
1919

20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4.2.2
2121
with:
2222
submodules: true
2323

24-
- uses: actions/setup-python@v5
24+
- uses: actions/setup-python@v5.3.0
2525
with:
2626
python-version: "3.11"
2727
cache: "pip"

.github/workflows/post.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
SCREENSHOTS_BRANCH: "pr-screenshots"
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4.2.2
1818
with:
1919
fetch-depth: 0
2020

2121
- name: Setup Python
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5.3.0
2323
with:
2424
python-version: '3.11'
2525
cache: 'pip'
@@ -67,7 +67,7 @@ jobs:
6767
git push origin $SCREENSHOTS_BRANCH
6868
6969
- name: Update or Post Comment
70-
uses: actions/github-script@v6
70+
uses: actions/github-script@v7.0.1
7171
with:
7272
github-token: ${{ secrets.GITHUB_TOKEN }}
7373
script: |

.github/workflows/release.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
name: Build Distribution
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v4
16+
- uses: actions/checkout@v4.2.2
17+
- uses: actions/setup-python@v5.3.0
1818
with:
1919
python-version: '3.12'
2020
- name: Install dependencies
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
python3 -m twine check dist/*
3030
- name: Upload wheel and sdist
31-
uses: actions/upload-artifact@v4
31+
uses: actions/upload-artifact@v4.4.3
3232
with:
3333
name: wheels
3434
path: dist
@@ -41,11 +41,11 @@ jobs:
4141
python: ["3.10", 3.11, 3.12]
4242
steps:
4343
- name: Download wheels
44-
uses: actions/download-artifact@v4
44+
uses: actions/download-artifact@v4.1.8
4545
with:
4646
name: wheels
4747
- name: Set up Python ${{ matrix.python }}
48-
uses: actions/setup-python@v4
48+
uses: actions/setup-python@v5.3.0
4949
with:
5050
python-version: ${{ matrix.python }}
5151
- name: Install wheel and test
@@ -64,11 +64,11 @@ jobs:
6464
wordsize: [64]
6565
steps:
6666
- name: Download wheels
67-
uses: actions/download-artifact@v4
67+
uses: actions/download-artifact@v4.1.8
6868
with:
6969
name: wheels
7070
- name: Set up Python ${{ matrix.python }}
71-
uses: actions/setup-python@v4
71+
uses: actions/setup-python@v5.3.0
7272
with:
7373
python-version: ${{ matrix.python }}
7474
- name: Install wheel and test
@@ -87,11 +87,11 @@ jobs:
8787
python: ["3.10", 3.11, 3.12]
8888
steps:
8989
- name: Download wheels
90-
uses: actions/download-artifact@v4
90+
uses: actions/download-artifact@v4.1.8
9191
with:
9292
name: wheels
9393
- name: Set up Python
94-
uses: actions/setup-python@v4
94+
uses: actions/setup-python@v5.3.0
9595
with:
9696
python-version: ${{ matrix.python }}
9797
- name: Install wheel and test
@@ -109,17 +109,17 @@ jobs:
109109
id-token: write
110110
steps:
111111
- name: Download all
112-
uses: actions/download-artifact@v4
112+
uses: actions/download-artifact@v4.1.8
113113
- name: Move to dist
114114
run: |
115115
mkdir dist
116116
cp */*.{whl,gz} dist/.
117117
- name: Publish distribution to Test PyPI
118118
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
119-
uses: pypa/gh-action-pypi-publish@release/v1
119+
uses: pypa/gh-action-pypi-publish@v1.12.3
120120
with:
121121
repository_url: https://test.pypi.org/legacy/
122122
- name: Publish distribution to PRODUCTION PyPI
123123
if: github.event_name == 'release'
124-
uses: pypa/gh-action-pypi-publish@release/v1
124+
uses: pypa/gh-action-pypi-publish@v1.12.3
125125

.github/workflows/tests.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Cancel Previous Runs
14-
uses: styfle/cancel-workflow-action@0.11.0
14+
uses: styfle/cancel-workflow-action@0.12.1
1515
with:
1616
access_token: ${{ github.token }}
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-python@v4
17+
- uses: actions/checkout@v4.2.2
18+
- uses: actions/setup-python@v5.3.0
1919
with:
2020
python-version: '3.11'
21-
- uses: pre-commit/[email protected].0
21+
- uses: pre-commit/[email protected].1
2222

2323
test:
2424
name: Python
@@ -33,14 +33,14 @@ jobs:
3333
shell: bash
3434
steps:
3535
- name: Cancel Previous Runs
36-
uses: styfle/cancel-workflow-action@0.11.0
36+
uses: styfle/cancel-workflow-action@0.12.1
3737
with:
3838
access_token: ${{ github.token }}
3939

4040
- name: Checkout
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4.2.2
4242

43-
- uses: actions/setup-python@v4
43+
- uses: actions/setup-python@v5.3.0
4444
with:
4545
python-version: '3.11'
4646
cache: 'pip'

0 commit comments

Comments
 (0)