Skip to content

Commit 0ac8005

Browse files
authored
Merge pull request #879 from armanbilge/update/scala-3.1
2 parents 34bcc1f + 791a329 commit 0ac8005

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
matrix:
3030
os: [ubuntu-latest]
31-
scala: [3.0.2, 2.12.15, 2.13.8]
31+
scala: [3.1.1, 2.12.15, 2.13.8]
3232
java: [temurin@8, temurin@11]
3333
project: [rootJS, rootJVM, rootNative]
3434
workers: [1, 4]
@@ -37,8 +37,6 @@ jobs:
3737
java: temurin@11
3838
- project: rootNative
3939
java: temurin@11
40-
- project: rootNative
41-
scala: 3.0.2
4240
- project: rootJS
4341
workers: 4
4442
- project: rootNative
@@ -191,32 +189,42 @@ jobs:
191189
~/Library/Caches/Coursier/v1
192190
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
193191

194-
- name: Download target directories (3.0.2, rootJS, 1)
192+
- name: Download target directories (3.1.1, rootJS, 1)
193+
uses: actions/download-artifact@v2
194+
with:
195+
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.1-rootJS-1
196+
197+
- name: Inflate target directories (3.1.1, rootJS, 1)
198+
run: |
199+
tar xf targets.tar
200+
rm targets.tar
201+
202+
- name: Download target directories (3.1.1, rootJVM, 1)
195203
uses: actions/download-artifact@v2
196204
with:
197-
name: target-${{ matrix.os }}-${{ matrix.java }}-3.0.2-rootJS-1
205+
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.1-rootJVM-1
198206

199-
- name: Inflate target directories (3.0.2, rootJS, 1)
207+
- name: Inflate target directories (3.1.1, rootJVM, 1)
200208
run: |
201209
tar xf targets.tar
202210
rm targets.tar
203211
204-
- name: Download target directories (3.0.2, rootJVM, 1)
212+
- name: Download target directories (3.1.1, rootNative, 1)
205213
uses: actions/download-artifact@v2
206214
with:
207-
name: target-${{ matrix.os }}-${{ matrix.java }}-3.0.2-rootJVM-1
215+
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.1-rootNative-1
208216

209-
- name: Inflate target directories (3.0.2, rootJVM, 1)
217+
- name: Inflate target directories (3.1.1, rootNative, 1)
210218
run: |
211219
tar xf targets.tar
212220
rm targets.tar
213221
214-
- name: Download target directories (3.0.2, rootJVM, 1)
222+
- name: Download target directories (3.1.1, rootJVM, 1)
215223
uses: actions/download-artifact@v2
216224
with:
217-
name: target-${{ matrix.os }}-${{ matrix.java }}-3.0.2-rootJVM-1
225+
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.1-rootJVM-1
218226

219-
- name: Inflate target directories (3.0.2, rootJVM, 1)
227+
- name: Inflate target directories (3.1.1, rootJVM, 1)
220228
run: |
221229
tar xf targets.tar
222230
rm targets.tar

build.sbt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
val Scala212 = "2.12.15"
22
val Scala213 = "2.13.8"
3-
val Scala3 = "3.0.2"
3+
val Scala3 = "3.1.1"
44

55
name := "scalacheck"
66
ThisBuild / organization := "org.scalacheck"
@@ -25,7 +25,6 @@ ThisBuild / githubWorkflowBuildMatrixAdditions += "workers" -> List("1", "4")
2525

2626
ThisBuild / githubWorkflowBuildMatrixExclusions ++=
2727
List(
28-
MatrixExclude(Map("project" -> "rootNative", "scala" -> Scala3)),
2928
MatrixExclude(Map("project" -> "rootJS", "workers" -> "4")),
3029
MatrixExclude(Map("project" -> "rootNative", "workers" -> "4"))
3130
)
@@ -53,7 +52,7 @@ ThisBuild / githubWorkflowAddedJobs ++= Seq(
5352
javas = List(Java8),
5453
scalas = List((ThisBuild / scalaVersion).value)))
5554

56-
ThisBuild / tlBaseVersion := "1.15"
55+
ThisBuild / tlBaseVersion := "1.16"
5756
ThisBuild / tlMimaPreviousVersions ++= Set(
5857
// manually added because tags are not v-prefixed
5958
"1.14.0",
@@ -117,7 +116,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
117116
"org.scala-native" %%% "test-interface" % nativeVersion
118117
),
119118
tlVersionIntroduced ++=
120-
List("2.12", "2.13").map(_ -> "1.15.2").toMap ++ Map("3" -> "1.15.5")
119+
List("2.12", "2.13").map(_ -> "1.15.2").toMap ++ Map("3" -> "1.16.0")
121120
)
122121

123122
lazy val bench = project.in(file("bench"))

0 commit comments

Comments
 (0)