Skip to content

Commit 93ec181

Browse files
committed
ci: bump actions to latest majors (Node 24)
Clears the Node 20 deprecation warnings and the CodeQL Action v3 deprecation: - actions/checkout v4 -> v6 (all workflows) - actions/setup-java v4 -> v5 - gradle/actions/setup-gradle v4 -> v6 - actions/upload-artifact v4 -> v7 - github/codeql-action init+analyze v3 -> v4 anthropics/claude-code-action stays at v1 (current major).
1 parent 589c3f2 commit 93ec181

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
# Spring Boot 4.x requires Java 21+. The library compiles to Java 21 bytecode via the Gradle
1818
# toolchain; we additionally verify runtime compatibility on Java 25 (current LTS). Both JDKs are
1919
# installed; listing 21 last makes it the default JAVA_HOME, so Gradle runs on (and compiles with)
2020
# Java 21 and discovers Java 25 for the runtime-only testJdk25 task.
2121
- name: Set up JDK 21 (toolchain) and 25 (runtime)
22-
uses: actions/setup-java@v4
22+
uses: actions/setup-java@v5
2323
with:
2424
distribution: temurin
2525
java-version: |
2626
25
2727
21
2828
- name: Set up Gradle
29-
uses: gradle/actions/setup-gradle@v4
29+
uses: gradle/actions/setup-gradle@v6
3030
- name: Build and test (compile + test on Java 21)
3131
run: ./gradlew check --no-daemon
3232
- name: Test on Java 25 (runtime compatibility)
3333
run: ./gradlew testJdk25 --no-daemon
3434
- name: Upload test reports
3535
if: always()
36-
uses: actions/upload-artifact@v4
36+
uses: actions/upload-artifact@v7
3737
with:
3838
name: test-reports
3939
path: build/reports/tests/
@@ -43,15 +43,15 @@ jobs:
4343
permissions:
4444
security-events: write
4545
steps:
46-
- uses: actions/checkout@v4
47-
- uses: actions/setup-java@v4
46+
- uses: actions/checkout@v6
47+
- uses: actions/setup-java@v5
4848
with:
4949
distribution: temurin
5050
java-version: '21'
51-
- uses: github/codeql-action/init@v3
51+
- uses: github/codeql-action/init@v4
5252
with:
5353
languages: java-kotlin
5454
queries: security-extended
5555
- name: Build
5656
run: ./gradlew compileJava --no-daemon
57-
- uses: github/codeql-action/analyze@v3
57+
- uses: github/codeql-action/analyze@v4

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131
with:
3232
fetch-depth: 1
3333

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
actions: read # Required for Claude to read CI results on PRs
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030
with:
3131
fetch-depth: 1
3232

0 commit comments

Comments
 (0)