mirror of
https://github.com/xerial/snappy-java.git
synced 2025-07-26 07:24:54 +02:00
Add Java 17 build test to GitHub action (#346)
This commit is contained in:
parent
3885fb05e8
commit
681da2d4ae
15
.github/workflows/test.yml
vendored
15
.github/workflows/test.yml
vendored
@ -54,3 +54,18 @@ jobs:
|
|||||||
restore-keys: ${{ runner.os }}-jdk8-
|
restore-keys: ${{ runner.os }}-jdk8-
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ./sbt 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…
x
Reference in New Issue
Block a user