Skip to content

Commit 361ed7c

Browse files
committed
Update GitHub Actions to latest major versions
1 parent 1fc1995 commit 361ed7c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
with:
2525
access_token: ${{ github.token }}
2626

27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
with:
2929
submodules: true
3030

31-
- uses: actions/setup-python@v4
31+
- uses: actions/setup-python@v5
3232
with:
3333
python-version: "3.11"
3434
cache: "pip"

.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
uses: styfle/[email protected]
1515
with:
1616
access_token: ${{ github.token }}
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-python@v4
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-python@v5
1919
- name: install clang-format
2020
run: |
2121
pip install clang-format==6.0.1
22-
- uses: pre-commit/action@v3.0.1
22+
- uses: pre-commit/action@v3
2323

2424
test:
2525
name: Python
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Cache conda and dependencies
4646
id: cache
47-
uses: actions/cache@v3
47+
uses: actions/cache@v4
4848
with:
4949
path: ${{ env.CONDA }}/envs
5050
key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.python}}-conda-v2-${{ hashFiles('requirements/CI-tests-conda/requirements.txt') }}-${{ hashFiles('requirements/CI-tests-pip/requirements.txt') }}

.github/workflows/wheels.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ jobs:
157157
cp */*.{whl,gz} dist/.
158158
- name: Publish distribution to Test PyPI
159159
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
160-
uses: pypa/gh-action-pypi-publish@release/v1
160+
uses: pypa/gh-action-pypi-publish@v1
161161
with:
162162
repository_url: https://test.pypi.org/legacy/
163163
- name: Publish distribution to PRODUCTION PyPI
164164
if: github.event_name == 'release'
165-
uses: pypa/gh-action-pypi-publish@release/v1
165+
uses: pypa/gh-action-pypi-publish@v1

0 commit comments

Comments
 (0)