Skip to content

Commit 331266e

Browse files
committed
GitHub Actions config: avoid duplicating Scala version numbers
by using new sbt 1.7 feature
1 parent 33feb8d commit 331266e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
java: [8, 11, 17]
14-
scala: [2.11.12, 2.12.15, 2.13.8, 3.0.2]
14+
scala: [2.11.x, 2.12.x, 2.13.x, 3.0.x]
1515
platform: [jvm, js, native]
1616
mode: [normal]
1717
exclude:
18-
- scala: 3.0.2
18+
- scala: 3.0.x
1919
platform: native
2020
- java: 11
2121
platform: js
@@ -27,27 +27,27 @@ jobs:
2727
platform: native
2828
include:
2929
- java: 8
30-
scala: 2.12.15
30+
scala: 2.12.x
3131
mode: testScalafix
3232
platform: jvm
3333
- java: 8
34-
scala: 2.12.15
34+
scala: 2.12.x
3535
mode: testBinaryCompat
3636
platform: jvm
3737
- java: 8
38-
scala: 2.12.15
38+
scala: 2.12.x
3939
mode: testScalafmt
4040
platform: jvm
4141
- java: 8
42-
scala: 2.12.15
42+
scala: 2.12.x
4343
mode: headerCheck
4444
platform: jvm
4545
- java: 11
46-
scala: 2.12.15
46+
scala: 2.12.x
4747
mode: normal
4848
platform: jvm
4949
- java: 17
50-
scala: 2.12.15
50+
scala: 2.12.x
5151
mode: normal
5252
platform: jvm
5353
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)