Skip to content

Commit b4b4df3

Browse files
authored
Merge pull request #10 from fmonniot/scala-3.4
Test on newer Scala version (3.4+)
2 parents e970df4 + 0202439 commit b4b4df3

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

.github/workflows/checks.yml

+21-16
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
distribution: 'temurin'
2828
java-version: '11'
2929
- run: sbt 'docs/mdoc'
30+
# Note that the first Scala LTS 3.3 is unfortunately not compatible
31+
# So we consider 3.2.2 as our baseline until we get a real LTS we
32+
# can target.
3033
test-lts:
3134
name: Test (LTS)
3235
runs-on: ubuntu-latest
@@ -37,19 +40,21 @@ jobs:
3740
distribution: 'temurin'
3841
java-version: '11'
3942
- run: sbt test
40-
# For when we have newer Scala versions
41-
# test-newer:
42-
# name: Test (${{ matrix.scalaV }})
43-
# runs-on: ubuntu-latest
44-
# strategy:
45-
# fail-fast: false
46-
# matrix:
47-
# scalaV:
48-
# - "3.3.1"
49-
# steps:
50-
# - uses: actions/checkout@v3
51-
# - uses: actions/setup-java@v3
52-
# with:
53-
# distribution: 'temurin'
54-
# java-version: '11'
55-
# - run: sbt '++${{ matrix.scalaV }}! test'
43+
# We currently depends on a bug fix in 3.4, which at the time this
44+
# check was written was not yet released. So instead we rely on a
45+
# nightly version.
46+
test-newer:
47+
name: Test (${{ matrix.scalaV }})
48+
runs-on: ubuntu-latest
49+
strategy:
50+
fail-fast: false
51+
matrix:
52+
scalaV:
53+
- "3.4.0-RC1-bin-20230909-64c3138-NIGHTLY"
54+
steps:
55+
- uses: actions/checkout@v3
56+
- uses: actions/setup-java@v3
57+
with:
58+
distribution: 'temurin'
59+
java-version: '11'
60+
- run: sbt '++${{ matrix.scalaV }}! test'

0 commit comments

Comments
 (0)