Skip to content

Commit ddad517

Browse files
authored
Update to newer versions of actions to address Node.js 20 deprecation (#533)
1 parent 63a3bc1 commit ddad517

11 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/dependency_checker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@v6
1111
- name: Set up latest Python
12-
uses: actions/setup-python@v5
12+
uses: actions/setup-python@v6
1313
with:
1414
python-version-file: 'pyproject.toml'
1515
- name: Install dependencies
@@ -19,7 +19,7 @@ jobs:
1919
make fix-lint
2020
- name: Create pull request
2121
id: cpr
22-
uses: peter-evans/create-pull-request@v4
22+
uses: peter-evans/create-pull-request@v8
2323
with:
2424
token: ${{ secrets.GH_ACCESS_TOKEN }}
2525
commit-message: Update latest dependencies

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
docs:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- name: Set up latest Python
14-
uses: actions/setup-python@v5
14+
uses: actions/setup-python@v6
1515
with:
1616
python-version-file: 'pyproject.toml'
1717
- name: Build
@@ -21,7 +21,7 @@ jobs:
2121
pip install -e .[dev]
2222
make docs
2323
- name: Deploy
24-
uses: peaceiris/actions-gh-pages@v3
24+
uses: peaceiris/actions-gh-pages@v4
2525
with:
2626
github_token: ${{secrets.GITHUB_TOKEN}}
2727
publish_dir: docs/_build/html

.github/workflows/end_to_end.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
- os: macos-latest
1919
python-version: '3.14'
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v5
23+
uses: actions/setup-python@v6
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies
@@ -32,9 +32,9 @@ jobs:
3232

3333
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.14
3434
name: Upload integration codecov report
35-
uses: codecov/codecov-action@v4
35+
uses: codecov/codecov-action@v6
3636
with:
3737
flags: integration
38-
file: ${{ github.workspace }}/integration_cov.xml
38+
files: ${{ github.workspace }}/integration_cov.xml
3939
fail_ci_if_error: true
4040
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
lint:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- name: Set up latest Python
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@v6
1919
with:
2020
python-version-file: 'pyproject.toml'
2121
- name: Install dependencies

.github/workflows/minimum.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
- os: macos-latest
2323
python-version: '3.14'
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install dependencies

.github/workflows/numerical.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
- os: macos-latest
2323
python-version: '3.14'
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install dependencies

.github/workflows/prepare_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
preparerelease:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
- name: Set up latest Python
23-
uses: actions/setup-python@v5
23+
uses: actions/setup-python@v6
2424
with:
2525
python-version-file: 'pyproject.toml'
2626

@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Create pull request
4646
id: cpr
47-
uses: peter-evans/create-pull-request@v4
47+
uses: peter-evans/create-pull-request@v8
4848
with:
4949
token: ${{ secrets.GH_ACCESS_TOKEN }}
5050
commit-message: Prepare release for v${{ inputs.version }}

.github/workflows/readme.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1818
os: [ubuntu-latest, macos-latest]
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
permissions:
2626
id-token: write
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v6
2929
with:
3030
ref: ${{ inputs.candidate && 'main' || 'stable' }}
3131

3232
- name: Set up latest Python
33-
uses: actions/setup-python@v5
33+
uses: actions/setup-python@v6
3434
with:
3535
python-version-file: 'pyproject.toml'
3636

@@ -58,7 +58,7 @@ jobs:
5858
- name: Create pull request
5959
if: ${{ inputs.candidate && !inputs.test_pypi }}
6060
id: cpr
61-
uses: peter-evans/create-pull-request@v4
61+
uses: peter-evans/create-pull-request@v8
6262
with:
6363
token: ${{ secrets.GH_ACCESS_TOKEN }}
6464
commit-message: bumpversion-candidate

.github/workflows/tutorials.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
matrix:
1717
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@v6
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install package and dependencies

0 commit comments

Comments
 (0)