This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
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 #41 from majk-p/scala3
- Loading branch information
Showing
4 changed files
with
4,439 additions
and
701 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 |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
scala: [2.13.3] | ||
scala: [2.13.6, 3.0.0] | ||
java: [[email protected]] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -75,7 +75,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
scala: [2.13.3] | ||
scala: [2.13.6] | ||
java: [[email protected]] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -101,12 +101,22 @@ jobs: | |
~/Library/Caches/Coursier/v1 | ||
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | ||
|
||
- name: Download target directories (2.13.3) | ||
- name: Download target directories (2.13.6) | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: target-${{ matrix.os }}-2.13.3-${{ matrix.java }} | ||
name: target-${{ matrix.os }}-2.13.6-${{ matrix.java }} | ||
|
||
- name: Inflate target directories (2.13.3) | ||
- name: Inflate target directories (2.13.6) | ||
run: | | ||
tar xf targets.tar | ||
rm targets.tar | ||
- name: Download target directories (3.0.0) | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: target-${{ matrix.os }}-3.0.0-${{ matrix.java }} | ||
|
||
- 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 |
---|---|---|
|
@@ -9,13 +9,20 @@ inThisBuild( | |
"Jakub Kozłowski", | ||
"[email protected]", | ||
url("https://blog.kubukoz.com") | ||
), | ||
Developer( | ||
"majk-p", | ||
"Michał Pawlik", | ||
"[email protected]", | ||
url("https://michalp.net") | ||
) | ||
), | ||
sources in (Compile, doc) := Seq() | ||
Compile / doc / sources := Seq() | ||
) | ||
) | ||
|
||
val Scala213 = "2.13.3" | ||
val Scala213 = "2.13.6" | ||
val Scala3 = "3.0.0" | ||
|
||
def crossPlugin(x: sbt.librarymanagement.ModuleID) = compilerPlugin(x.cross(CrossVersion.full)) | ||
|
||
|
@@ -29,7 +36,7 @@ val compilerPlugins = List( | |
val GraalVM11 = "[email protected]" | ||
|
||
ThisBuild / scalaVersion := Scala213 | ||
ThisBuild / crossScalaVersions := Seq(Scala213) | ||
ThisBuild / crossScalaVersions := Seq(Scala213, Scala3) | ||
ThisBuild / githubWorkflowJavaVersions := Seq(GraalVM11) | ||
//sbt-ci-release settings | ||
ThisBuild / githubWorkflowTargetTags ++= Seq("v*") | ||
|
@@ -57,7 +64,7 @@ val root = project | |
"release", | ||
"+publishSigned;sonatypeBundleRelease" | ||
), | ||
skip in publish := true | ||
publish / skip := true | ||
) | ||
.aggregate(core) | ||
.enablePlugins(CodegenPlugin) |
Oops, something went wrong.