Skip to content

fix(deps): bump swaggerCoreVersion from 2.2.32 to 2.2.33 #373

fix(deps): bump swaggerCoreVersion from 2.2.32 to 2.2.33

fix(deps): bump swaggerCoreVersion from 2.2.32 to 2.2.33 #373

# 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: ['23']
os: ['ubuntu-latest']
timeout-minutes: 60
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
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@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v3
if: always()
with:
name: ${{ matrix.os }}-${{ matrix.java_version }}-test-results
path: |
build/reports/
*/build/test-results/**/*.xml
retention-days: 7