File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches : [ master ]
66 pull_request :
77
8+ permissions :
9+ contents : read
10+
811jobs :
912 test :
10- uses : evolution-gaming/scala-github-actions/.github/workflows/ci.yml@dde27b9bd793d41d5aacf8fb74403c9de5da1146 # v6.3.0
11- with :
12- # TODO no sbt-version-policy in this repo, so binary compatibility was never checked
13- version_policy_check : false
13+ uses : evolution-gaming/scala-github-actions/.github/workflows/ci.yml@61f111a4472fde7b63e5921ac8a238f22d1bb028 # v7.0.1
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ permissions:
99
1010jobs :
1111 submit :
12- uses : evolution-gaming/scala-github-actions/.github/workflows/dependency-graph.yml@2a50f1819b6fef2657ba802fd62612b7fc8450f0 # v6.4.0
12+ uses : evolution-gaming/scala-github-actions/.github/workflows/dependency-graph.yml@61f111a4472fde7b63e5921ac8a238f22d1bb028 # v7.0.1
Original file line number Diff line number Diff line change 55 tags :
66 - ' v*'
77
8+ permissions :
9+ contents : write # can delete tag on failed release attempt
10+
811jobs :
912 release :
10- uses : evolution-gaming/scala-github-actions/.github/workflows/release.yml@v5
13+ uses : evolution-gaming/scala-github-actions/.github/workflows/release.yml@61f111a4472fde7b63e5921ac8a238f22d1bb028 # v7.0.1
1114 secrets : inherit
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ scalaVersion := crossScalaVersions.value.head
1515crossScalaVersions := Seq (" 3.3.8" , " 2.13.18" )
1616
1717ThisBuild / versionScheme := Some (" early-semver" )
18+ ThisBuild / versionPolicyIntention := Compatibility .BinaryCompatible
1819
1920Compile / doc / scalacOptions ++= Seq (" -no-link-warnings" )
2021
@@ -33,7 +34,6 @@ libraryDependencies ++= Seq(
3334
3435licenses := Seq ((" MIT" , uri(" https://opensource.org/licenses/MIT" )))
3536
36- // addCommandAlias("check", "all versionPolicyCheck Compile/doc")
37- addCommandAlias(" check" , " +scalafmtCheckRepo" )
38- addCommandAlias(" fmt" , " +scalafmtRepo" )
37+ addCommandAlias(" check" , " all scalafmtCheckRepo versionPolicyCheck Compile/doc" )
38+ addCommandAlias(" fmt" , " scalafmtRepo" )
3939addCommandAlias(" build" , " +all compile testFull" )
Original file line number Diff line number Diff line change @@ -6,4 +6,6 @@ addSbtPlugin("com.evolution" % "sbt-scalac-opts-plugin" % "0.2.0")
66
77addSbtPlugin(" com.evolution" % " sbt-artifactory-plugin" % " 0.1.2" )
88
9+ addSbtPlugin(" ch.epfl.scala" % " sbt-version-policy" % " 3.3.0" )
10+
911addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.6.2" )
You can’t perform that action at this time.
0 commit comments