Skip to content

chore: change code owner to team tachyon #682

chore: change code owner to team tachyon

chore: change code owner to team tachyon #682

# 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: always()
with:
name: ${{ matrix.os }}-${{ matrix.java_version }}-test-results
path: |
build/reports/
*/build/test-results/**/*.xml
retention-days: 7