-
Notifications
You must be signed in to change notification settings - Fork 92
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 #564 from scala/bye-bye-travis-ci
- Loading branch information
Showing
8 changed files
with
66 additions
and
94 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: test | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: [8, 11, 17] | ||
scala: [2.12.15, 2.13.6, 3.0.2] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: coursier/cache-action@v6 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
java-version: ${{matrix.java}} | ||
- name: Test | ||
run: sbt ++${{matrix.scala}} test headerCheck versionPolicyCheck package |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Release | ||
on: | ||
push: | ||
tags: ["*"] | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
java-version: 8 | ||
- run: sbt versionCheck ci-release | ||
env: | ||
PGP_PASSPHRASE: ${{secrets.PGP_PASSPHRASE}} | ||
PGP_SECRET: ${{secrets.PGP_SECRET}} | ||
SONATYPE_PASSWORD: ${{secrets.SONATYPE_PASSWORD}} | ||
SONATYPE_USERNAME: ${{secrets.SONATYPE_USERNAME}} |
This file was deleted.
Oops, something went wrong.
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
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,12 +1,6 @@ | ||
val scalaJSVersion = | ||
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("1.7.0") | ||
|
||
val scalaNativeVersion = | ||
Option(System.getenv("SCALANATIVE_VERSION")).filter(_.nonEmpty).getOrElse("0.4.0") | ||
|
||
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.4.0") | ||
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "3.0.0") | ||
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.1.0") | ||
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.1.0") | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion) | ||
addSbtPlugin("org.scala-native" % "sbt-scala-native" % scalaNativeVersion) | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.7.0") | ||
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0") | ||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0") |
12 changes: 12 additions & 0 deletions
12
shared/src/main/scala-2.13-/scala/xml/ScalaVersionSpecific.scala
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