Skip to content

Commit ab8d7eb

Browse files
authored
Merge pull request #153 from aeons/scala-3
Upgrade Scala to 3.0.0
2 parents 70be213 + 5843518 commit ab8d7eb

4 files changed

Lines changed: 12 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
os: [ubuntu-latest]
29-
scala: [2.12.13, 2.13.5, 3.0.0-RC2, 3.0.0-RC3]
29+
scala: [2.12.13, 2.13.5, 3.0.0]
3030
java: [adopt@1.8]
3131
runs-on: ${{ matrix.os }}
3232
steps:
@@ -131,22 +131,12 @@ jobs:
131131
tar xf targets.tar
132132
rm targets.tar
133133
134-
- name: Download target directories (3.0.0-RC2)
134+
- name: Download target directories (3.0.0)
135135
uses: actions/download-artifact@v2
136136
with:
137-
name: target-${{ matrix.os }}-3.0.0-RC2-${{ matrix.java }}
137+
name: target-${{ matrix.os }}-3.0.0-${{ matrix.java }}
138138

139-
- name: Inflate target directories (3.0.0-RC2)
140-
run: |
141-
tar xf targets.tar
142-
rm targets.tar
143-
144-
- name: Download target directories (3.0.0-RC3)
145-
uses: actions/download-artifact@v2
146-
with:
147-
name: target-${{ matrix.os }}-3.0.0-RC3-${{ matrix.java }}
148-
149-
- name: Inflate target directories (3.0.0-RC3)
139+
- name: Inflate target directories (3.0.0)
150140
run: |
151141
tar xf targets.tar
152142
rm targets.tar

.mergify.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ pull_request_rules:
88
- body~=labels:.*semver-patch.*
99
- status-success=Build and Test (ubuntu-latest, 2.12.13, adopt@1.8)
1010
- status-success=Build and Test (ubuntu-latest, 2.13.5, adopt@1.8)
11-
- status-success=Build and Test (ubuntu-latest, 3.0.0-RC2, adopt@1.8)
12-
- status-success=Build and Test (ubuntu-latest, 3.0.0-RC3, adopt@1.8)
11+
- status-success=Build and Test (ubuntu-latest, 3.0.0, adopt@1.8)

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import sbtcrossproject.CrossPlugin.autoImport.{CrossType, crossProject}
22
import sbt.ForkOptions
33
import sbt.Tests._
44

5-
val catsV = "2.6.0"
5+
val catsV = "2.6.1"
66
val scalacheckV = "1.15.4"
7-
val disciplineMunitV = "1.0.8"
7+
val disciplineMunitV = "1.0.9"
88

99
enablePlugins(SonatypeCiReleasePlugin)
1010

@@ -42,7 +42,7 @@ lazy val testing = crossProject(JSPlatform, JVMPlatform)
4242
)
4343
)
4444
.jsSettings(
45-
libraryDependencies += "io.github.cquiroz" %%% "scala-java-locales" % "1.1.3"
45+
libraryDependencies += "io.github.cquiroz" %%% "scala-java-locales" % "1.2.0"
4646
)
4747
.dependsOn(core)
4848

@@ -135,7 +135,7 @@ inThisBuild(List(
135135
publishFullName := "Ross A. Baker",
136136
baseVersion := "1.1",
137137

138-
crossScalaVersions := Seq("2.12.13", Scala213, "3.0.0-RC2", "3.0.0-RC3"),
138+
crossScalaVersions := Seq("2.12.13", Scala213, "3.0.0"),
139139
scalaVersion := crossScalaVersions.value.filter(_.startsWith("2.")).last,
140140
versionIntroduced := Map(
141141
"3.0.0-RC1" -> "1.0.0",

project/plugins.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
55
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.2")
66
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.1")
77
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0")
8+
9+
// Temporary workaround
10+
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.5")

0 commit comments

Comments
 (0)