-
Notifications
You must be signed in to change notification settings - Fork 17
48 lines (43 loc) · 871 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
main:
name: Build and test
strategy:
fail-fast: false
matrix:
scala:
- 2.11.12
- 2.12.15
- 2.13.0
- 2.13.1
- 2.13.2
- 2.13.3
- 2.13.4
- 2.13.5
- 2.13.6
- 2.13.7
- 2.13.8
- 3.3.3
- 3.4.2
java:
- 1.8
- 1.11
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v13
with:
java-version: adopt@${{ matrix.java }}
- name: Cache sbt
uses: coursier/cache-action@v6
- name: Test
run: |
sbt ++${{ matrix.scala }} test