Repository navigation
docs: document the supported Java ceiling and where it comes from #29
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: Java Agent | |
| on: | |
| # Deliberately unfiltered: the Woodpecker pipeline this replaced ran the | |
| # matrix on every pull request regardless of target, and this repo has | |
| # several long-lived integration branches that would otherwise get no CI. | |
| pull_request: | |
| push: | |
| branches: [main] | |
| # Superseded runs are pointless work: a push to a PR branch makes the | |
| # previous run's result irrelevant. Matters more now that the trigger above | |
| # is unfiltered and this repo carries a lot of long-lived branches. | |
| concurrency: | |
| group: java-agent-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify: | |
| name: JDK ${{ matrix.java-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java-version: ["8", "17", "21"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK ${{ matrix.java-version }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java-version }} | |
| cache: maven | |
| - name: Build | |
| run: mvn -B -DskipTests clean verify | |
| - name: Smoke test Java agent | |
| run: ./scripts/smoke-javaagent.sh |