Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
java-version: 21
distribution: oracle
cache: maven
- name: Generate JavaDoc
run: make generate-docs-java
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
java-version: 21
distribution: oracle
cache: maven
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
java-version: 21
distribution: oracle
cache: maven
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
Expand All @@ -58,8 +58,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
java-version: 21
distribution: oracle
cache: maven
server-id: ossrh
server-username: MAVEN_USERNAME
Expand Down
30 changes: 20 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,21 @@ jobs:
strategy:
fail-fast: false
matrix:
java-version:
- 8
- 11
- 17
include:
- java-version: 8
distribution: temurin
- java-version: 11
distribution: temurin
- java-version: 17
distribution: temurin
- java-version: 21
distribution: oracle
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
distribution: ${{ matrix.distribution }}
cache: maven
- name: Run unit tests
run: make unit-test-java
Expand All @@ -178,16 +183,21 @@ jobs:
strategy:
fail-fast: false
matrix:
java-version:
- 8
- 11
- 17
include:
- java-version: 8
distribution: temurin
- java-version: 11
distribution: temurin
- java-version: 17
distribution: temurin
- java-version: 21
distribution: oracle
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
distribution: ${{ matrix.distribution }}
cache: maven
- uses: actions/setup-go@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
java-version: 21
distribution: oracle
cache: maven
- name: Check Java artifact version
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
if: matrix.target != 'osv-scanner'
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
java-version: 21
distribution: oracle
cache: maven
- name: Set up Go
if: matrix.target == 'osv-scanner'
Expand Down