Skip to content

Commit 9e501d2

Browse files
committed
ci: bump GitHub Actions to Node24-compatible versions
GitHub is deprecating the Node20 action runtime. Bump every JS action pinned in the workflows to its first major release that defaults to Node24 (runs.using: node24): actions/checkout v4 -> v5 actions/setup-python v5 -> v6 actions/setup-java v4 -> v5 actions/cache v4 -> v5 actions/upload-artifact v4 -> v6 actions/download-artifact v4 -> v7 dorny/paths-filter v3 -> v4 docker/login-action v3 -> v4 docker/setup-buildx-action v3 -> v4 docker/build-push-action v5,v6 -> v7 codecov/codecov-action v4 -> v5 Composite/docker actions (lychee, generate-sitemap, claude-code-action, setup-homebrew, free-disk-space) have no Node runtime and are left as-is. upload-artifact v6+ / download-artifact v7+ require a self-hosted runner agent >= 2.327.1; the GT/ORNL runners auto-update, so the self-hosted checkout/upload-artifact steps are bumped too.
1 parent c7685a2 commit 9e501d2

20 files changed

Lines changed: 64 additions & 64 deletions

.github/workflows/bench.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
checkall: ${{ steps.changes.outputs.checkall }}
2222
steps:
2323
- name: Clone
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2525

2626
- name: Detect Changes
27-
uses: dorny/paths-filter@v3
27+
uses: dorny/paths-filter@v4
2828
id: changes
2929
with:
3030
filters: ".github/file-filter.yml"
@@ -95,13 +95,13 @@ jobs:
9595
run: rm -f *.out
9696

9797
- name: Clone - PR
98-
uses: actions/checkout@v4
98+
uses: actions/checkout@v5
9999
with:
100100
path: pr
101101
clean: false
102102

103103
- name: Clone - Master
104-
uses: actions/checkout@v4
104+
uses: actions/checkout@v5
105105
with:
106106
repository: MFlowCode/MFC
107107
ref: master
@@ -174,7 +174,7 @@ jobs:
174174
# All other runners (non-Phoenix) just run without special env
175175
- name: Archive Logs (Frontier)
176176
if: always() && matrix.cluster != 'phoenix'
177-
uses: actions/upload-artifact@v4
177+
uses: actions/upload-artifact@v6
178178
with:
179179
name: ${{ matrix.cluster }}-${{ matrix.device }}-${{ matrix.interface }}
180180
path: |

.github/workflows/claude-code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
echo "pr_head_ref=$PR_HEAD_REF" >> "$GITHUB_OUTPUT"
6565
6666
- name: Checkout base repo
67-
uses: actions/checkout@v4
67+
uses: actions/checkout@v5
6868
with:
6969
fetch-depth: 0
7070

.github/workflows/cleanliness.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
checkall: ${{ steps.changes.outputs.checkall }}
1919
steps:
2020
- name: Clone
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222

2323
- name: Detect Changes
24-
uses: dorny/paths-filter@v3
24+
uses: dorny/paths-filter@v4
2525
id: changes
2626
with:
2727
filters: ".github/file-filter.yml"
@@ -36,11 +36,11 @@ jobs:
3636
master_everything: 0
3737
steps:
3838
- name: Clone - PR
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
4040
with:
4141
path: pr
4242
- name: Clone - Master
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v5
4444
with:
4545
repository: MFlowCode/MFC
4646
ref: master

.github/workflows/convergence.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
checkall: ${{ steps.changes.outputs.checkall }}
1919
steps:
2020
- name: Clone
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222

2323
- name: Detect Changes
24-
uses: dorny/paths-filter@v3
24+
uses: dorny/paths-filter@v4
2525
id: changes
2626
with:
2727
filters: ".github/file-filter.yml"
@@ -37,7 +37,7 @@ jobs:
3737
timeout-minutes: 240
3838

3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5
4141

4242
- name: Setup Ubuntu
4343
run: |
@@ -46,7 +46,7 @@ jobs:
4646
openmpi-bin libopenmpi-dev
4747
4848
- name: Setup Python
49-
uses: actions/setup-python@v5
49+
uses: actions/setup-python@v6
5050
with:
5151
python-version: "3.12"
5252

.github/workflows/coverage-health.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
if: github.repository == 'MFlowCode/MFC'
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions/setup-python@v5
12+
- uses: actions/checkout@v5
13+
- uses: actions/setup-python@v6
1414
with: { python-version: '3.12' }
1515
- name: Initialize MFC
1616
run: ./mfc.sh init

.github/workflows/coverage-refresh.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# token embedded in the push URL below — making the push authenticate as
2828
# github-actions[bot] (which cannot bypass the require-PR rule) instead of
2929
# the CACHE_PUSH_TOKEN identity.
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v5
3131
with: { clean: false, persist-credentials: false }
3232
- name: Build + collect coverage map (SLURM)
3333
run: bash .github/scripts/submit-slurm-job.sh .github/workflows/common/coverage-refresh.sh cpu none phoenix

.github/workflows/coverage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
checkall: ${{ steps.changes.outputs.checkall }}
2020
steps:
2121
- name: Clone
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323

2424
- name: Detect Changes
25-
uses: dorny/paths-filter@v3
25+
uses: dorny/paths-filter@v4
2626
id: changes
2727
with:
2828
filters: ".github/file-filter.yml"
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: "ubuntu-latest"
3535
steps:
3636
- name: Checkouts
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v5
3838

3939
- name: Get system info for cache key
4040
id: sys-info
@@ -48,7 +48,7 @@ jobs:
4848
echo "sys-hash=$(cat /tmp/sys-hash)" >> "$GITHUB_OUTPUT"
4949
5050
- name: Restore Build Cache
51-
uses: actions/cache@v4
51+
uses: actions/cache@v5
5252
with:
5353
path: build
5454
key: mfc-coverage-${{ steps.sys-info.outputs.sys-hash }}-${{ hashFiles('CMakeLists.txt', 'toolchain/dependencies/**', 'toolchain/cmake/**', 'src/**/*.fpp', 'src/**/*.f90') }}
@@ -67,7 +67,7 @@ jobs:
6767
run: /bin/bash mfc.sh test -v -a -j $(nproc)
6868

6969
- name: Upload coverage reports to Codecov
70-
uses: codecov/codecov-action@v4
70+
uses: codecov/codecov-action@v5
7171
with:
7272
fail_ci_if_error: false
7373
verbose: true

.github/workflows/deploy-tap.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
url: https://github.com/MFlowCode/homebrew-mfc
3232
steps:
3333
- name: Checkout MFC repository
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v5
3535
with:
3636
fetch-depth: 0
3737

.github/workflows/docker.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ jobs:
4444
swap-storage: true
4545

4646
- name: Login to Docker Hub
47-
uses: docker/login-action@v3
47+
uses: docker/login-action@v4
4848
with:
4949
username: ${{ secrets.DOCKERHUB_USERNAME }}
5050
password: ${{ secrets.DOCKERHUB_PASSWORD }}
5151

5252
- name: Login to GHCR
53-
uses: docker/login-action@v3
53+
uses: docker/login-action@v4
5454
with:
5555
registry: ghcr.io
5656
username: ${{ github.actor }}
5757
password: ${{ secrets.GITHUB_TOKEN }}
5858

5959
- name: Setup Buildx
60-
uses: docker/setup-buildx-action@v3
60+
uses: docker/setup-buildx-action@v4
6161

6262
- name: Clone
6363
id: clone
@@ -93,7 +93,7 @@ jobs:
9393
9494
- name: Build and push image (cpu)
9595
if: ${{ matrix.config.name == 'cpu' }}
96-
uses: docker/build-push-action@v6
96+
uses: docker/build-push-action@v7
9797
with:
9898
context: /mnt/share
9999
file: /mnt/share/Dockerfile
@@ -114,7 +114,7 @@ jobs:
114114

115115
- name: Build and push image (gpu)
116116
if: ${{ matrix.config.name == 'gpu' }}
117-
uses: docker/build-push-action@v5
117+
uses: docker/build-push-action@v7
118118
with:
119119
builder: default
120120
context: /mnt/share
@@ -142,20 +142,20 @@ jobs:
142142
url: https://hub.docker.com/r/sbryngelson/mfc
143143
steps:
144144
- name: Login to Docker Hub
145-
uses: docker/login-action@v3
145+
uses: docker/login-action@v4
146146
with:
147147
username: ${{ secrets.DOCKERHUB_USERNAME }}
148148
password: ${{ secrets.DOCKERHUB_PASSWORD }}
149149

150150
- name: Login to GHCR
151-
uses: docker/login-action@v3
151+
uses: docker/login-action@v4
152152
with:
153153
registry: ghcr.io
154154
username: ${{ github.actor }}
155155
password: ${{ secrets.GITHUB_TOKEN }}
156156

157157
- name: Setup Buildx
158-
uses: docker/setup-buildx-action@v3
158+
uses: docker/setup-buildx-action@v4
159159

160160
- name: Set GHCR registry (lowercase)
161161
run: |

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818
with:
1919
fetch-depth: 0 # Full history for per-page last-updated dates
2020

@@ -44,7 +44,7 @@ jobs:
4444
done
4545
4646
- name: Upload Built Documentation Artifact
47-
uses: actions/upload-artifact@v4
47+
uses: actions/upload-artifact@v6
4848
with:
4949
name: mfc-docs
5050
path: build/install/docs/mfc
@@ -83,10 +83,10 @@ jobs:
8383
url: https://mflowcode.github.io/
8484

8585
steps:
86-
- uses: actions/checkout@v4
86+
- uses: actions/checkout@v5
8787

8888
- name: Download Built Documentation Artifact
89-
uses: actions/download-artifact@v4
89+
uses: actions/download-artifact@v7
9090
with:
9191
name: mfc-docs
9292
path: build/install/docs/mfc

0 commit comments

Comments
 (0)