Skip to content

Commit

Permalink
chore: Drop Scala 2.12 (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw authored Oct 2, 2023
1 parent 97a26bc commit c339697
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
with:
jvm: temurin:1.11

- name: Compile all code with fatal warnings for Java 11, Scala 2.12, Scala 2.13 and Scala 3
- name: Compile all code with fatal warnings for Java 11, Scala 2.13 and Scala 3
run: sbt "clean ; +IntegrationTest/compile"

check-docs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
# v2.1.0
uses: scalacenter/sbt-dependency-submission@573f2f9ac18dd26794bd0c5b26b71e880467b608
with:
modules-ignore: examples_2.13 examples_2.12
modules-ignore: examples_2.13
configs-ignore: test It scala-tool scala-doc-tool
3 changes: 0 additions & 3 deletions project/AkkaDisciplinePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ object AkkaDisciplinePlugin extends AutoPlugin {
"-Ywarn-nullary-unit",
"-Ypartial-unification",
"-Yno-adapted-args")
case Some((2, 12)) =>
// no fatal-warnings for 2.12
disciplineScalacOptions - "-Xfatal-warnings"
case _ =>
Nil
}).toSeq,
Expand Down
3 changes: 1 addition & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ import sbt._
object Dependencies {

val Scala213 = "2.13.12"
val Scala212 = "2.12.18"
val Scala3 = "3.3.1"

val Scala2Versions = Seq(Scala213, Scala212)
val Scala2Versions = Seq(Scala213)
val ScalaVersions = Dependencies.Scala2Versions :+ Dependencies.Scala3

val AkkaVersionInDocs = "2.9"
Expand Down

0 comments on commit c339697

Please sign in to comment.