Skip to content

fix(deps): bump org.springframework:spring-framework-bom #226

fix(deps): bump org.springframework:spring-framework-bom

fix(deps): bump org.springframework:spring-framework-bom #226

# This workflow builds + tests using the latest Java version
#
# Disclaimer:
# ----------
# This workflow is only used to get early feedback about the compatibility of the library. It still
# does not guarantee that services using this library will work in the given Java version.
#
# It was created by copying the 'official' java-ci.yml and applying the following changes:
# - only runs on `main`
# - only one `os` + `java_version` in the build matrix
# - not a complete checkout (with fetch-depth: 0)
# - only 3 retries
# - no release (step 'semantic-release')
# - no publication of the test results (step 'publish-test-results')
name: Java CI Latest
on:
push:
branches:
- main
jobs:
# build library
build:
runs-on: ${{ matrix.os }}
strategy:
# always run all tests to avoid having different amounts of tests.
fail-fast: false
matrix:
java_version: ['22-ea']
os: ['ubuntu-latest']
timeout-minutes: 60
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'gradle'
- name: Test with Gradle
uses: nick-invision/retry@7152eba30c6575329ac0576536151aca5a72780e # v2
with:
timeout_minutes: 30
max_attempts: 3
retry_wait_seconds: 10
warning_on_retry: false
command: ./gradlew --parallel --continue check -x spotlessCheck
- name: Generate Test Report
if: always()
run: ./gradlew -x test testReport codeCoverageReport
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v3
if: always()
with:
name: ${{ matrix.os }}-${{ matrix.java_version }}-test-results
path: |
build/reports/
*/build/test-results/**/*.xml
retention-days: 7