Skip to content

Commit

Permalink
Use JDK17 for spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <[email protected]>
  • Loading branch information
dbwiddis committed Nov 30, 2023
1 parent f84ca84 commit a9b4a83
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Spotless requires JDK 17+
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- name: Spotless Check
run: ./gradlew spotlessCheck
build:
Expand Down Expand Up @@ -41,7 +46,7 @@ jobs:
- uses: actions/checkout@v4
- name: Build and Run Tests
run: |
./gradlew check
./gradlew check -x spotlessJava
- name: Upload Coverage Report
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit a9b4a83

Please sign in to comment.