Skip to content

Commit 389648a

Browse files
authored
Update GitHub Actions for Node 24 runtime (#552)
1 parent e93acb6 commit 389648a

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
Lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@v6
1010
- name: Set up Python
11-
uses: actions/setup-python@v5
11+
uses: actions/setup-python@v6
1212
with:
1313
python-version: "3.14"
1414
allow-prereleases: true
@@ -20,7 +20,7 @@ jobs:
2020
name: Check changelog fragment
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
2424
- name: Check for changelog fragment
2525
run: |
2626
FRAGMENTS=$(find changelog.d -type f ! -name '.gitkeep' | wc -l)
@@ -38,9 +38,9 @@ jobs:
3838
python-version: ["3.14"]
3939
steps:
4040
- name: Checkout repo
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242
- name: Set up Python
43-
uses: actions/setup-python@v5
43+
uses: actions/setup-python@v6
4444
with:
4545
python-version: ${{ matrix.python-version }}
4646
allow-prereleases: true
@@ -50,7 +50,7 @@ jobs:
5050
run: make install
5151
- name: Run tests
5252
run: make test
53-
- uses: codecov/codecov-action@v4
53+
- uses: codecov/codecov-action@v6
5454
- name: Build package
5555
run: make build
5656
- name: Test documentation builds

.github/workflows/push.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
(github.repository == 'PolicyEngine/policyengine-canada')
1010
&& (github.event.head_commit.message == 'Update PolicyEngine Canada')
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- name: Set up Python
14-
uses: actions/setup-python@v5
14+
uses: actions/setup-python@v6
1515
with:
1616
python-version: "3.14"
1717
allow-prereleases: true
@@ -28,16 +28,16 @@ jobs:
2828
steps:
2929
- name: Generate GitHub App token
3030
id: app-token
31-
uses: actions/create-github-app-token@v1
31+
uses: actions/create-github-app-token@v3
3232
with:
3333
app-id: ${{ secrets.APP_ID }}
3434
private-key: ${{ secrets.APP_PRIVATE_KEY }}
3535
- name: Checkout repo
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v6
3737
with:
3838
token: ${{ steps.app-token.outputs.token }}
3939
- name: Setup Python
40-
uses: actions/setup-python@v5
40+
uses: actions/setup-python@v6
4141
with:
4242
python-version: "3.14"
4343
allow-prereleases: true
@@ -49,7 +49,7 @@ jobs:
4949
- name: Preview changelog update
5050
run: ".github/get-changelog-diff.sh"
5151
- name: Update changelog
52-
uses: EndBug/add-and-commit@v9
52+
uses: EndBug/add-and-commit@v10
5353
with:
5454
add: "."
5555
committer_name: Github Actions[bot]
@@ -67,22 +67,22 @@ jobs:
6767
os: [ubuntu-latest, windows-latest]
6868
steps:
6969
- name: Checkout repo
70-
uses: actions/checkout@v4
70+
uses: actions/checkout@v6
7171
- name: Set up Python
72-
uses: actions/setup-python@v5
72+
uses: actions/setup-python@v6
7373
with:
7474
python-version: "3.14"
7575
allow-prereleases: true
7676
- name: Install package
7777
run: make install
7878
- name: Run tests
7979
run: make test
80-
- uses: codecov/codecov-action@v4
80+
- uses: codecov/codecov-action@v6
8181
- name: Generate documentation
8282
run: make documentation
8383
- name: Deploy documentation
8484
if: matrix.os == 'ubuntu-latest'
85-
uses: JamesIves/github-pages-deploy-action@releases/v3
85+
uses: JamesIves/github-pages-deploy-action@v4
8686
with:
8787
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8888
BRANCH: gh-pages # The branch the action should deploy to.
@@ -94,9 +94,9 @@ jobs:
9494
&& (github.event.head_commit.message == 'Update PolicyEngine Canada')
9595
steps:
9696
- name: Checkout repo
97-
uses: actions/checkout@v4
97+
uses: actions/checkout@v6
9898
- name: Setup Python
99-
uses: actions/setup-python@v5
99+
uses: actions/setup-python@v6
100100
with:
101101
python-version: "3.14"
102102
allow-prereleases: true
@@ -122,16 +122,16 @@ jobs:
122122
steps:
123123
- name: Generate GitHub App token
124124
id: app-token
125-
uses: actions/create-github-app-token@v1
125+
uses: actions/create-github-app-token@v3
126126
with:
127127
app-id: ${{ secrets.APP_ID }}
128128
private-key: ${{ secrets.APP_PRIVATE_KEY }}
129129
- name: Checkout repo
130-
uses: actions/checkout@v4
130+
uses: actions/checkout@v6
131131
with:
132132
token: ${{ steps.app-token.outputs.token }}
133133
- name: Setup Python
134-
uses: actions/setup-python@v5
134+
uses: actions/setup-python@v6
135135
with:
136136
python-version: "3.14"
137137
allow-prereleases: true

0 commit comments

Comments
 (0)