Skip to content

Commit fabfaad

Browse files
ci: upgrade GitHub Actions for Node.js 24
Bump checkout, setup-java, setup-python, cache, and codecov-action. Set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 on all workflows. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c46fd0c commit fabfaad

3 files changed

Lines changed: 19 additions & 10 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,25 @@ on:
1111
permissions:
1212
contents: write
1313

14+
env:
15+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
16+
1417
jobs:
1518
deploy:
1619
runs-on: ubuntu-latest
1720
steps:
18-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
1922
- name: Configure Git Credentials
2023
run: |
2124
git config user.name github-actions[bot]
2225
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
2326
24-
- uses: actions/setup-python@v5
27+
- uses: actions/setup-python@v6
2528
with:
2629
python-version: 3.x
2730
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
2831

29-
- uses: actions/cache@v4
32+
- uses: actions/cache@v5
3033
with:
3134
key: mkdocs-material-${{ env.cache_id }}
3235
path: .cache

.github/workflows/maven-build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,20 @@ on:
99
branches:
1010
- main
1111

12+
env:
13+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
14+
1215
jobs:
1316
build:
1417
name: maven build
1518
runs-on: ubuntu-latest
1619

1720
steps:
1821
- name: Git Checkout
19-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2023

2124
- name: Set up JDK 17
22-
uses: actions/setup-java@v4
25+
uses: actions/setup-java@v5
2326
with:
2427
cache: maven
2528
java-version: '17'
@@ -31,6 +34,6 @@ jobs:
3134
./mvnw -B package --file pom.xml
3235
3336
- name: Upload coverage reports to Codecov
34-
uses: codecov/codecov-action@v5
37+
uses: codecov/codecov-action@v6
3538
with:
3639
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/maven-deploy.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ on:
55
tags:
66
- 'v*'
77

8+
env:
9+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
10+
811
jobs:
912
verify:
1013
name: maven verify
1114
runs-on: ubuntu-latest
1215

1316
steps:
1417
- name: Git Checkout
15-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1619

1720
- name: Set up JDK 17
18-
uses: actions/setup-java@v4
21+
uses: actions/setup-java@v5
1922
with:
2023
cache: maven
2124
java-version: '17'
@@ -33,10 +36,10 @@ jobs:
3336

3437
steps:
3538
- name: Git Checkout
36-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
3740

3841
- name: Set up JDK 17
39-
uses: actions/setup-java@v4
42+
uses: actions/setup-java@v5
4043
with:
4144
cache: maven
4245
java-version: '17'

0 commit comments

Comments
 (0)