Skip to content

Commit 528559a

Browse files
committed
update ci
1 parent 7e3a39b commit 528559a

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
validate:
14-
name: Check code formatting, compile and test
14+
name: Check code formatting
1515
runs-on: ubuntu-22.04
1616

1717
steps:
@@ -40,10 +40,25 @@ jobs:
4040
- id: linter
4141
name: Lint code
4242
run: sbt scalafmtCheckAll
43+
tests:
44+
name: Run tests in parallel
45+
runs-on: ubuntu-22.04
46+
strategy:
47+
matrix:
48+
scala-version: [2.12.20, 2.13.11, 3.4.2]
4349

44-
- id: compile
45-
name: Compile code
46-
run: sbt clean compile
50+
steps:
51+
- id: checkout
52+
name: Check out repo
53+
uses: actions/checkout@v4
54+
55+
- id: scala-setup
56+
name: Install Scala
57+
uses: actions/setup-java@v3
58+
with:
59+
distribution: temurin
60+
java-version: 21
61+
cache: sbt
4762

4863
- id: test
4964
name: Run tests

0 commit comments

Comments
 (0)