Add Java 17 build test to GitHub action (#346)
This commit is contained in:
parent
3885fb05e8
commit
681da2d4ae
|
@ -54,3 +54,18 @@ jobs:
|
|||
restore-keys: ${{ runner.os }}-jdk8-
|
||||
- name: Test
|
||||
run: ./sbt test
|
||||
test_jdk17:
|
||||
name: test jdk17
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: olafurpg/setup-scala@v10
|
||||
with:
|
||||
java-version: 17
|
||||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.cache
|
||||
key: ${{ runner.os }}-jdk17-${{ hashFiles('**/*.sbt') }}
|
||||
restore-keys: ${{ runner.os }}-jdk17-
|
||||
- name: Test
|
||||
run: ./sbt test
|
||||
|
|
Loading…
Reference in New Issue