Skip to content

Commit 846a619

Browse files
authored
Merge pull request #443 from benjeffery/update-actions-2412
Update GitHub Actions to latest major versions
2 parents 441ea2b + c9da40d commit 846a619

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Cancel Previous Runs
22-
uses: styfle/cancel-workflow-action@0.11.0
22+
uses: styfle/cancel-workflow-action@0.12.1
2323
with:
2424
access_token: ${{ github.token }}
2525

26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4.2.2
2727

28-
- uses: actions/setup-python@v4
28+
- uses: actions/setup-python@v5.3.0
2929
with:
3030
python-version: "3.10"
3131
cache: 'pip'

.github/workflows/wheels.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v4.2.2
1919
with:
2020
submodules: true
2121

2222
- name: Set up Python 3.10
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v5.3.0
2424
with:
2525
python-version: "3.10"
2626

@@ -31,7 +31,7 @@ jobs:
3131
python -m build
3232
3333
- name: Upload
34-
uses: actions/upload-artifact@v4
34+
uses: actions/upload-artifact@v4.4.3
3535
with:
3636
name: sdist-wheel
3737
path: dist
@@ -45,11 +45,11 @@ jobs:
4545
python: [3.8, 3.8, 3.9, "3.10", 3.11]
4646
steps:
4747
- name: Download wheels
48-
uses: actions/download-artifact@v4
48+
uses: actions/download-artifact@v4.1.8
4949
with:
5050
name: sdist-wheel
5151
- name: Set up Python ${{ matrix.python }}
52-
uses: actions/setup-python@v4
52+
uses: actions/setup-python@v5.3.0
5353
with:
5454
python-version: ${{ matrix.python }}
5555
- name: Install wheel and test
@@ -71,11 +71,11 @@ jobs:
7171
wordsize: [64]
7272
steps:
7373
- name: Download wheels
74-
uses: actions/download-artifact@v4
74+
uses: actions/download-artifact@v4.1.8
7575
with:
7676
name: sdist-wheel
7777
- name: Set up Python ${{ matrix.python }}
78-
uses: actions/setup-python@v4
78+
uses: actions/setup-python@v5.3.0
7979
with:
8080
python-version: ${{ matrix.python }}
8181
- name: Install wheel and test
@@ -96,11 +96,11 @@ jobs:
9696
python: [3.8, 3.9, "3.10", 3.11]
9797
steps:
9898
- name: Download wheels
99-
uses: actions/download-artifact@v4
99+
uses: actions/download-artifact@v4.1.8
100100
with:
101101
name: sdist-wheel
102102
- name: Set up Python
103-
uses: actions/setup-python@v4
103+
uses: actions/setup-python@v5.3.0
104104
with:
105105
python-version: ${{ matrix.python }}
106106
- name: Install wheel and test
@@ -122,17 +122,17 @@ jobs:
122122
id-token: write
123123
steps:
124124
- name: Download all
125-
uses: actions/download-artifact@v4
125+
uses: actions/download-artifact@v4.1.8
126126
- name: Move to dist
127127
run: |
128128
mkdir dist
129129
cp */*.{whl,gz} dist/.
130130
- name: Publish distribution to Test PyPI
131131
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
132-
uses: pypa/gh-action-pypi-publish@release/v1
132+
uses: pypa/gh-action-pypi-publish@v1.12.3
133133
with:
134134
repository_url: https://test.pypi.org/legacy/
135135
- name: Publish distribution to PRODUCTION PyPI
136136
if: github.event_name == 'release'
137-
uses: pypa/gh-action-pypi-publish@release/v1
137+
uses: pypa/gh-action-pypi-publish@v1.12.3
138138

0 commit comments

Comments
 (0)