File tree 6 files changed +61
-71
lines changed
6 files changed +61
-71
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request :
7
+ jobs :
8
+ test :
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ java : [8, 11, 17]
13
+ scala : [2.13.6, 3.0.2]
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ with :
18
+ fetch-depth : 0
19
+ - uses : coursier/cache-action@v6
20
+ - uses : actions/setup-java@v2
21
+ with :
22
+ distribution : adopt
23
+ java-version : ${{matrix.java}}
24
+ - name : Test
25
+ run : sbt ++${{matrix.scala}} test core/headerCheck package
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ tags : ["*"]
5
+ jobs :
6
+ publish :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ with :
11
+ fetch-depth : 0
12
+ - uses : actions/setup-java@v2
13
+ with :
14
+ distribution : adopt
15
+ java-version : 8
16
+ - run : sbt versionCheck ci-release
17
+ env :
18
+ PGP_PASSPHRASE : ${{secrets.PGP_PASSPHRASE}}
19
+ PGP_SECRET : ${{secrets.PGP_SECRET}}
20
+ SONATYPE_PASSWORD : ${{secrets.SONATYPE_PASSWORD}}
21
+ SONATYPE_USERNAME : ${{secrets.SONATYPE_USERNAME}}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ThisBuild / crossScalaVersions := Seq (" 2.13.6" , " 3.0.2" )
2
+ ThisBuild / scalaVersion := (ThisBuild / crossScalaVersions).value.head
3
+
4
+ // shouldn't be necessary anymore after https://github.com/lampepfl/dotty/pull/13498
5
+ // makes it into a release
6
+ ThisBuild / libraryDependencySchemes += " org.scala-lang" %% " scala3-library" % " semver-spec"
7
+
8
+ // this was necessary to get us from 3.0.0 to 3.0.2, but we should be able to remove
9
+ // it after the next release
10
+ import com .typesafe .tools .mima .core ._
11
+ ThisBuild / mimaBinaryIssueFilters ++= Seq (
12
+ ProblemFilters .exclude[IncompatibleSignatureProblem ](" *" ),
13
+ )
14
+
1
15
Global / cancelable := true
2
16
publish / skip := true // in root
3
17
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.scala-lang.modules" % " sbt-scala-module" % " 2.4 .0" )
1
+ addSbtPlugin(" org.scala-lang.modules" % " sbt-scala-module" % " 3.0 .0" )
You can’t perform that action at this time.
0 commit comments