Skip to content

Commit b32f009

Browse files
committed
Update GitHub Actions for Node 24 runtime
1 parent 163c432 commit b32f009

4 files changed

Lines changed: 23 additions & 23 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525

2626
- name: Set up Python
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: "3.13"
3030

3131
- name: Install uv
32-
uses: astral-sh/setup-uv@v5
32+
uses: astral-sh/setup-uv@v8.1.0
3333

3434
- name: Install Node.js
35-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@v6
3636
with:
3737
node-version: "24"
3838

.github/workflows/pull_request.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
runs-on: ubuntu-latest
1717
name: Lint
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
- name: Set up Python
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@v6
2222
with:
2323
python-version: 3.13
2424
- name: Install dependencies
@@ -36,13 +36,13 @@ jobs:
3636
PE_UK_DATA_OA_CLONES: "1"
3737
steps:
3838
- name: Checkout code
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040
with:
4141
fetch-depth: 0 # Fetch all history for all tags and branches
4242
- name: Install uv
43-
uses: astral-sh/setup-uv@v5
43+
uses: astral-sh/setup-uv@v8.1.0
4444
- name: Set up Python
45-
uses: actions/setup-python@v5
45+
uses: actions/setup-python@v6
4646
with:
4747
python-version: 3.13
4848
- name: Install package
@@ -56,13 +56,13 @@ jobs:
5656
env:
5757
TESTING: "1"
5858
- name: Save calibration log (constituencies)
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v7
6060
with:
6161
name: constituency_calibration_log.csv
6262
path: constituency_calibration_log.csv
6363

6464
- name: Save calibration log (local authorities)
65-
uses: actions/upload-artifact@v4
65+
uses: actions/upload-artifact@v7
6666
with:
6767
name: la_calibration_log.csv
6868
path: la_calibration_log.csv

.github/workflows/push.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
name: Lint
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
- name: Set up Python
20-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@v6
2121
with:
2222
python-version: 3.13
2323
- name: Install dependencies
@@ -39,16 +39,16 @@ jobs:
3939
PE_UK_DATA_OA_CLONES: "1"
4040
steps:
4141
- name: Checkout code
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v6
4343
with:
4444
fetch-depth: 0 # Fetch all history for all tags and branches
4545
- name: Install uv
46-
uses: astral-sh/setup-uv@v5
46+
uses: astral-sh/setup-uv@v8.1.0
4747
- name: Set up Python
48-
uses: actions/setup-python@v5
48+
uses: actions/setup-python@v6
4949
with:
5050
python-version: 3.13
51-
- uses: "google-github-actions/auth@v2"
51+
- uses: "google-github-actions/auth@v3"
5252
with:
5353
workload_identity_provider: "projects/322898545428/locations/global/workloadIdentityPools/policyengine-research-id-pool/providers/prod-github-provider"
5454
service_account: "policyengine-research@policyengine-research.iam.gserviceaccount.com"
@@ -61,13 +61,13 @@ jobs:
6161
- name: Build datasets
6262
run: make data
6363
- name: Save calibration log (constituencies)
64-
uses: actions/upload-artifact@v4
64+
uses: actions/upload-artifact@v7
6565
with:
6666
name: constituency_calibration_log.csv
6767
path: constituency_calibration_log.csv
6868

6969
- name: Save calibration log (local authorities)
70-
uses: actions/upload-artifact@v4
70+
uses: actions/upload-artifact@v7
7171
with:
7272
name: la_calibration_log.csv
7373
path: la_calibration_log.csv

.github/workflows/versioning.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ jobs:
1818
steps:
1919
- name: Generate GitHub App token
2020
id: app-token
21-
uses: actions/create-github-app-token@v1
21+
uses: actions/create-github-app-token@v3
2222
with:
2323
app-id: ${{ secrets.APP_ID }}
2424
private-key: ${{ secrets.APP_PRIVATE_KEY }}
2525
- name: Checkout repo
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727
with:
2828
token: ${{ steps.app-token.outputs.token }}
2929
fetch-depth: 0
3030
- name: Setup Python
31-
uses: actions/setup-python@v5
31+
uses: actions/setup-python@v6
3232
with:
3333
python-version: 3.12
3434
- name: Install towncrier
@@ -38,7 +38,7 @@ jobs:
3838
python .github/bump_version.py
3939
towncrier build --yes --version $(python -c "import re; print(re.search(r'version = \"(.+?)\"', open('pyproject.toml').read()).group(1))")
4040
- name: Update changelog
41-
uses: EndBug/add-and-commit@v9
41+
uses: EndBug/add-and-commit@v10
4242
with:
4343
add: "."
4444
message: Update package version

0 commit comments

Comments
 (0)