Skip to content

Commit 93edf00

Browse files
authored
Merge pull request #340 from ckipp01/ci
Test on jdk 8 and 11
2 parents 239a266 + 8b11eba commit 93edf00

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/ci.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
java: [ '11' ]
17-
scala: [
18-
{ version: '2.12.13' }
19-
]
16+
java: [ '8', '11' ]
17+
2018
steps:
2119
- name: checkout the repo
2220
uses: actions/checkout@v2
2321
with:
2422
fetch-depth: 0
2523

26-
- name: Set up JDK
27-
uses: actions/setup-java@v1
24+
- name: Set up JVM
25+
uses: actions/setup-java@v2
2826
with:
27+
distribution: 'adopt'
2928
java-version: ${{ matrix.java }}
3029

3130
- name: run tests
32-
run: sbt ++${{ matrix.scala.version }} test scripted
31+
run: sbt scripted

.github/workflows/release.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ jobs:
88
publish:
99
runs-on: ubuntu-20.04
1010
steps:
11-
- uses: actions/checkout@v2.3.4
11+
- uses: actions/checkout@v2
1212
with:
1313
fetch-depth: 0
14-
- uses: olafurpg/setup-scala@v10
14+
- uses: actions/setup-java@v2
15+
with:
16+
distribution: 'adopt'
17+
java-version: '11'
1518
- run: sbt ci-release
1619
env:
1720
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}

0 commit comments

Comments
 (0)