Skip to content

Commit

Permalink
Support Scala 3.6.2 (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeltz authored Jan 17, 2025
1 parent 5dac27e commit d2a385f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- 2.13.15
- 2.13.16
- 3.3.4
- 3.5.2
- 3.6.2
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ developers := List(
)
)

scalaVersion := "3.5.2"
crossScalaVersions := Seq("2.12.19", "2.12.20", "2.13.15", "2.13.16", "3.3.4", "3.5.2")
scalaVersion := "3.6.2"
crossScalaVersions := Seq("2.12.19", "2.12.20", "2.13.15", "2.13.16", "3.3.4", "3.6.2")
autoScalaLibrary := false
crossVersion := CrossVersion.full
crossTarget := {
Expand Down Expand Up @@ -56,7 +56,7 @@ val scalac12Options = scala2Options ++ Seq(
"254"
)
val scala3Options = Seq(
"-Ysafe-init",
"-Wsafe-init",
"-Wnonunit-statement",
"-Wunused:all",
"-Wvalue-discard",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.sksamuel.scapegoat.inspections.option

import com.sksamuel.scapegoat.{InspectionTest, Levels, Warning}
import com.sksamuel.scapegoat.{InspectionTest, Levels}

class OptionGetTest extends InspectionTest(classOf[OptionGet]) {

Expand Down

0 comments on commit d2a385f

Please sign in to comment.