-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade to Scala 3.0.0 * Sort out some warnings * fixup! Upgrade to Scala 3.0.0
- Loading branch information
1 parent
17d4393
commit 67192ff
Showing
5 changed files
with
18 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 |
---|---|---|
|
@@ -12,7 +12,7 @@ on: | |
branches: ['*'] | ||
push: | ||
branches: ['*'] | ||
tags: [v*] | ||
tags: [v*, v*] | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -23,7 +23,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
scala: [3.0.0-RC2] | ||
scala: [3.0.0] | ||
java: [[email protected]] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -49,11 +49,11 @@ jobs: | |
~/Library/Caches/Coursier/v1 | ||
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | ||
|
||
# - name: Check that workflows are up to date | ||
# run: sbt ++${{ matrix.scala }} githubWorkflowCheck | ||
- name: Check that workflows are up to date | ||
run: sbt ++${{ matrix.scala }} githubWorkflowCheck | ||
|
||
- name: Build project | ||
run: sbt ++${{ matrix.scala }} compile | ||
run: sbt ++${{ matrix.scala }} test | ||
|
||
- name: Compress target directories | ||
run: tar cf targets.tar target core/target project/target | ||
|
@@ -71,7 +71,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
scala: [3.0.0-RC2] | ||
scala: [3.0.0] | ||
java: [[email protected]] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -97,12 +97,12 @@ jobs: | |
~/Library/Caches/Coursier/v1 | ||
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | ||
|
||
- name: Download target directories (3.0.0-RC2) | ||
- name: Download target directories (3.0.0) | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: target-${{ matrix.os }}-3.0.0-RC2-${{ matrix.java }} | ||
name: target-${{ matrix.os }}-3.0.0-${{ matrix.java }} | ||
|
||
- name: Inflate target directories (3.0.0-RC2) | ||
- name: Inflate target directories (3.0.0) | ||
run: | | ||
tar xf targets.tar | ||
rm targets.tar | ||
|
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 |
---|---|---|
|
@@ -4,11 +4,11 @@ inThisBuild(Seq( | |
homepage := Some(url("https://github.com/tabdulradi/nullable")), | ||
scmInfo := Some(ScmInfo(url("https://github.com/tabdulradi/nullable"), "scm:[email protected]:tabdulradi/nullable.git")), | ||
|
||
scalaVersion := "3.0.0-RC2", | ||
scalaVersion := "3.0.0", | ||
|
||
libraryDependencies ++= Seq( | ||
"org.scalatest" %% "scalatest" % "3.2.7" % Test, | ||
"org.scalacheck" %% "scalacheck" % "1.15.3" % Test | ||
"org.scalatest" %% "scalatest" % "3.2.9" % Test, | ||
"org.scalacheck" %% "scalacheck" % "1.15.4" % Test | ||
), | ||
)) | ||
|
||
|
@@ -19,5 +19,5 @@ lazy val root = (project in file(".")) | |
.aggregate(core) | ||
.settings( | ||
name := "nullable", | ||
skip in publish := true | ||
publish / skip := true | ||
) |
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.4.9 | ||
sbt.version=1.5.2 |
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.3") | ||
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.6") | ||
addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.10.1") |