Skip to content

Commit

Permalink
chore: test in java 17 and 21
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames committed Apr 8, 2024
1 parent ef72f07 commit 22caadd
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,24 @@ jobs:
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
run-tests: true
build:

test:
name: Run Checks
runs-on: ubuntu-latest

strategy:
matrix:
java: [17, 21]

steps:
- name: Checkout the source
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 17
uses: actions/setup-java@v4
uses: gradle/wrapper-validation-action@b231772637bb498f11fdbc86052b6e8a8dc9fc92 # v2.1.2
- name: Set up JDK
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: "17"
java-version: ${{ matrix.java }}
distribution: "temurin"
- name: Run Gradle check task
run: ./gradlew check --continue

0 comments on commit 22caadd

Please sign in to comment.