chore(deps): bump org.springframework.boot from 4.0.6 to 4.1.0 #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build & Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| # Spring Boot 4.x requires Java 21+. The library compiles to Java 21 bytecode via the Gradle | |
| # toolchain; we additionally verify runtime compatibility on Java 25 (current LTS). Both JDKs are | |
| # installed; listing 21 last makes it the default JAVA_HOME, so Gradle runs on (and compiles with) | |
| # Java 21 and discovers Java 25 for the runtime-only testJdk25 task. | |
| - name: Set up JDK 21 (toolchain) and 25 (runtime) | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: | | |
| 25 | |
| 21 | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| - name: Build and test (compile + test on Java 21) | |
| run: ./gradlew check --no-daemon | |
| - name: Test on Java 25 (runtime compatibility) | |
| run: ./gradlew testJdk25 --no-daemon | |
| - name: Upload test reports | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-reports | |
| path: build/reports/tests/ | |
| codeql: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: '21' | |
| - uses: github/codeql-action/init@v4 | |
| with: | |
| languages: java-kotlin | |
| queries: security-extended | |
| - name: Build | |
| run: ./gradlew compileJava --no-daemon | |
| - uses: github/codeql-action/analyze@v4 |