Skip to content

Commit 3a68a42

Browse files
authored
Merge pull request #93 from benjeffery/update-actions-2412
Update GitHub Actions to latest major versions
2 parents d84a018 + e9fd1e7 commit 3a68a42

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.github/workflows/docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
with:
1818
access_token: ${{ github.token }}
1919

20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v4.2.2
2121

22-
- uses: actions/setup-python@v5
22+
- uses: actions/setup-python@v5.3.0
2323
with:
2424
python-version: "3.10"
2525
cache: 'pip'

.github/workflows/tests.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
uses: styfle/[email protected]
1515
with:
1616
access_token: ${{ github.token }}
17-
- uses: actions/checkout@v4
18-
- uses: actions/setup-python@v5
19-
- uses: pre-commit/[email protected].0
17+
- uses: actions/checkout@v4.2.2
18+
- uses: actions/setup-python@v5.3.0
19+
- uses: pre-commit/[email protected].1
2020

2121
test:
2222
name: Python
@@ -35,12 +35,12 @@ jobs:
3535
access_token: ${{ github.token }}
3636

3737
- name: Checkout
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v4.2.2
3939
with:
4040
submodules: true
4141

4242
- name: Install Conda
43-
uses: conda-incubator/setup-miniconda@v3
43+
uses: conda-incubator/setup-miniconda@v3.1.0
4444
with:
4545
activate-environment: anaconda-client-env
4646
python-version: ${{ matrix.python }}

.github/workflows/wheels.yml

+13-13
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@v5
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 --sdist
3232
3333
- name: Upload sdist
34-
uses: actions/upload-artifact@v4
34+
uses: actions/upload-artifact@v4.4.3
3535
with:
3636
name: sdist
3737
path: dist
@@ -42,7 +42,7 @@ jobs:
4242
docker run --rm -v `pwd`:/project -w /project quay.io/pypa/manylinux2014_x86_64 bash .github/workflows/docker/buildwheel.sh
4343
4444
- name: Upload Wheels
45-
uses: actions/upload-artifact@v4
45+
uses: actions/upload-artifact@v4.4.3
4646
with:
4747
name: wheels
4848
path: dist
@@ -55,11 +55,11 @@ jobs:
5555
python: [3.9, "3.10", 3.11, 3.12]
5656
steps:
5757
- name: Download wheels
58-
uses: actions/download-artifact@v4
58+
uses: actions/download-artifact@v4.1.8
5959
with:
6060
name: wheels
6161
- name: Set up Python ${{ matrix.python }}
62-
uses: actions/setup-python@v5
62+
uses: actions/setup-python@v5.3.0
6363
with:
6464
python-version: ${{ matrix.python }}
6565
- name: Install wheel and test
@@ -78,11 +78,11 @@ jobs:
7878
wordsize: [64]
7979
steps:
8080
- name: Download wheels
81-
uses: actions/download-artifact@v4
81+
uses: actions/download-artifact@v4.1.8
8282
with:
8383
name: wheels
8484
- name: Set up Python ${{ matrix.python }}
85-
uses: actions/setup-python@v5
85+
uses: actions/setup-python@v5.3.0
8686
with:
8787
python-version: ${{ matrix.python }}
8888
- name: Install wheel and test
@@ -101,11 +101,11 @@ jobs:
101101
python: [3.9, "3.10", 3.11, 3.12]
102102
steps:
103103
- name: Download wheels
104-
uses: actions/download-artifact@v4
104+
uses: actions/download-artifact@v4.1.8
105105
with:
106106
name: wheels
107107
- name: Set up Python
108-
uses: actions/setup-python@v5
108+
uses: actions/setup-python@v5.3.0
109109
with:
110110
python-version: ${{ matrix.python }}
111111
- name: Install wheel and test
@@ -124,16 +124,16 @@ jobs:
124124
id-token: write
125125
steps:
126126
- name: Download all
127-
uses: actions/download-artifact@v4
127+
uses: actions/download-artifact@v4.1.8
128128
- name: Move to dist
129129
run: |
130130
mkdir dist
131131
cp */*.{whl,gz} dist/.
132132
- name: Publish distribution to Test PyPI
133133
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
134-
uses: pypa/gh-action-pypi-publish@release/v1.8
134+
uses: pypa/gh-action-pypi-publish@v1.12.3
135135
with:
136136
repository_url: https://test.pypi.org/legacy/
137137
- name: Publish distribution to PRODUCTION PyPI
138138
if: github.event_name == 'release'
139-
uses: pypa/gh-action-pypi-publish@release/v1.8
139+
uses: pypa/gh-action-pypi-publish@v1.12.3

0 commit comments

Comments
 (0)