Skip to content

Commit

Permalink
Use jdk 21 for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed May 7, 2024
1 parent c7ec515 commit 610a4a5
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,22 @@ name: Compile
on: [push, pull_request]

jobs:
openjdk17:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
java-version: 21
- run: sbt compile

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
- run: sbt scalafmtCheckAll

0 comments on commit 610a4a5

Please sign in to comment.