-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3718 from mpilquist/topic/m3
Upgrade to Scala 3.0.0-M3
- Loading branch information
Showing
2 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
scala: [2.12.12, 2.13.3, 3.0.0-M1, 3.0.0-M2] | ||
scala: [2.12.12, 2.13.3, 3.0.0-M2, 3.0.0-M3] | ||
java: | ||
- [email protected] | ||
- [email protected] | ||
|
@@ -38,10 +38,10 @@ jobs: | |
java: [email protected] | ||
- platform: jvm | ||
java: [email protected] | ||
scala: 3.0.0-M1 | ||
scala: 3.0.0-M2 | ||
- platform: js | ||
java: [email protected] | ||
scala: 3.0.0-M1 | ||
scala: 3.0.0-M2 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout current branch (full) | ||
|
@@ -74,37 +74,37 @@ jobs: | |
run: sbt ++${{ matrix.scala }} validateAllJS | ||
|
||
- name: Setup Python | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M1' && matrix.scala != '3.0.0-M2') | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M2' && matrix.scala != '3.0.0-M3') | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
|
||
- name: Setup codecov | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M1' && matrix.scala != '3.0.0-M2') | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M2' && matrix.scala != '3.0.0-M3') | ||
run: pip install codecov | ||
|
||
- name: Validate JVM (scala 2) | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M1' && matrix.scala != '3.0.0-M2') | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M2' && matrix.scala != '3.0.0-M3') | ||
run: sbt ++${{ matrix.scala }} coverage buildJVM bench/test coverageReport | ||
|
||
- name: Validate JVM (scala 3) | ||
if: matrix.platform == 'jvm' && (matrix.scala == '3.0.0-M1' || matrix.scala == '3.0.0-M2') | ||
if: matrix.platform == 'jvm' && (matrix.scala == '3.0.0-M2' || matrix.scala == '3.0.0-M3') | ||
run: sbt ++${{ matrix.scala }} buildJVM bench/test | ||
|
||
- name: Upload Codecov Results | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M1' && matrix.scala != '3.0.0-M2') | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M2' && matrix.scala != '3.0.0-M3') | ||
run: codecov -F ${{ matrix.scala }} | ||
|
||
- name: Binary compatibility ${{ matrix.scala }} | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M1' && matrix.scala != '3.0.0-M2') | ||
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M2' && matrix.scala != '3.0.0-M3') | ||
run: sbt ++${{ matrix.scala }} clean validateBC | ||
|
||
scalafix: | ||
name: Scalafix | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
scala: [2.12.12, 2.13.3, 3.0.0-M1, 3.0.0-M2] | ||
scala: [2.12.12, 2.13.3, 3.0.0-M2, 3.0.0-M3] | ||
java: [[email protected]] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -140,7 +140,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
scala: [2.12.12, 2.13.3, 3.0.0-M1, 3.0.0-M2] | ||
scala: [2.12.12, 2.13.3, 3.0.0-M2, 3.0.0-M3] | ||
java: [[email protected]] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -167,7 +167,7 @@ jobs: | |
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | ||
|
||
- name: Check formatting | ||
if: (matrix.scala != '3.0.0-M1' && matrix.scala != '3.0.0-M2') | ||
if: (matrix.scala != '3.0.0-M2' && matrix.scala != '3.0.0-M3') | ||
run: sbt ++${{ matrix.scala }} fmtCheck | ||
|
||
microsite: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters