-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (33 loc) · 866 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
name: CI
on:
push:
branches:
- master
tags:
- "*"
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
java: [adopt@1.8, adopt@1.11]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v11
with:
java-version: ${{ matrix.java }}
- run: TEST="2.12" sbt ci-test
shell: bash
- run: TEST="2.13" sbt ci-test
shell: bash
- run: TEST="3" sbt ci-test
shell: bash
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v11
- run: sbt fmtCheck