Skip to content

Commit f4fcd21

Browse files
authored
Update to newer versions of actions to address Node.js 20 deprecation (#506)
1 parent 9b7aad6 commit f4fcd21

8 files changed

Lines changed: 23 additions & 23 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/integration.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
@@ -19,9 +19,9 @@ jobs:
1919
- os: macos-latest
2020
python-version: '3.14'
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- 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

@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Create pull request
5050
id: cpr
51-
uses: peter-evans/create-pull-request@v4
51+
uses: peter-evans/create-pull-request@v8
5252
with:
5353
token: ${{ secrets.GH_ACCESS_TOKEN }}
5454
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] # skip windows bc rundoc fails
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
@@ -23,12 +23,12 @@ jobs:
2323
permissions:
2424
id-token: write
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727
with:
2828
ref: ${{ inputs.candidate && 'main' || 'stable' }}
2929

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

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

.github/workflows/unit.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 unit codecov report
35-
uses: codecov/codecov-action@v4
35+
uses: codecov/codecov-action@v6
3636
with:
3737
flags: unit
38-
file: ${{ github.workspace }}/unit_cov.xml
38+
files: ${{ github.workspace }}/unit_cov.xml
3939
fail_ci_if_error: true
4040
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)