Skip to content

Update scala3-library, ... to 3.1.0 #4016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.15, 2.13.8, 3.0.2]
scala: [2.12.15, 2.13.8, 3.1.0]
java: [temurin@8, temurin@17, graal_20.3.1@11]
platform: [jvm, js, native]
exclude:
Expand All @@ -35,7 +35,7 @@ jobs:
- platform: native
java: graal_20.3.1@11
- platform: native
scala: 3.0.2
scala: 3.1.0
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
Expand Down Expand Up @@ -108,23 +108,23 @@ jobs:
run: sbt ++${{ matrix.scala }} algebraLawsNative/test

- name: Validate JVM (scala 2)
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.2')
if: matrix.platform == 'jvm' && (matrix.scala != '3.1.0')
run: sbt ++${{ matrix.scala }} buildJVM bench/test

- name: Validate JVM (scala 3)
if: matrix.platform == 'jvm' && (matrix.scala == '3.0.2')
if: matrix.platform == 'jvm' && (matrix.scala == '3.1.0')
run: sbt ++${{ matrix.scala }} buildJVM bench/test

- name: Binary compatibility ${{ matrix.scala }}
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.2')
if: matrix.platform == 'jvm' && (matrix.scala != '3.1.0')
run: sbt ++${{ matrix.scala }} clean validateBC

scalafix:
name: Scalafix
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.15, 2.13.8, 3.0.2]
scala: [2.12.15, 2.13.8, 3.1.0]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.15, 2.13.8, 3.0.2]
scala: [2.12.15, 2.13.8, 3.1.0]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Check formatting
if: (matrix.scala != '3.0.2')
if: (matrix.scala != '3.1.0')
run: sbt ++${{ matrix.scala }} fmtCheck

microsite:
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ThisBuild / githubWorkflowJavaVersions := Seq(PrimaryJava, LTSJava, GraalVM11)

val Scala212 = "2.12.15"
val Scala213 = "2.13.8"
val Scala3 = "3.0.2"
val Scala3 = "3.1.0"

ThisBuild / crossScalaVersions := Seq(Scala212, Scala213, Scala3)
ThisBuild / scalaVersion := Scala213
Expand Down