Skip to content

Commit

Permalink
Update to Scala 3.2.1 and Cats 2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed Nov 23, 2022
1 parent 5fb403f commit 6b7fa6e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- scala: 2.13.8
name: Scala2
test-tasks: coverage test coverageReport generate-docs
- scala: 3.1.3
name: Scala3
- scala: 3.2.1
name: Scala32
test-tasks: test # scoverage doesn’t support Scala 3

steps:
Expand Down
6 changes: 3 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pull_request_rules:
- check-success=codecov/patch
- check-success=codecov/project
- check-success=build (Scala2)
- check-success=build (Scala3)
- check-success=build (Scala32)
- base=main
- label!=work-in-progress
actions:
Expand All @@ -16,7 +16,7 @@ pull_request_rules:
conditions:
- author=scala-steward
- check-success=build (Scala2)
- check-success=build (Scala3)
- check-success=build (Scala32)
- base=main
actions:
merge:
Expand All @@ -26,7 +26,7 @@ pull_request_rules:
conditions:
- author=dependabot[bot]
- check-success=build (Scala2)
- check-success=build (Scala3)
- check-success=build (Scala32)
- base=main
actions:
merge:
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import ModuleMdocPlugin.autoImport.mdocScalacOptions
val prjName = "scope"
val org = "com.github.geirolz"
lazy val scala213 = "2.13.8"
lazy val scala31 = "3.1.3"
lazy val supportedScalaVersions = List(scala213, scala31)
lazy val scala32 = "3.2.1"
lazy val supportedScalaVersions = List(scala213, scala32)

//## global project to no publish ##
val copyReadMe = taskKey[Unit]("Copy generated README to main folder.")
Expand Down
2 changes: 1 addition & 1 deletion core/src/test/scala-3/scope/ModelMapperKTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ModelMapperKTest extends munit.FunSuite:
1.scoped.as[String]
"""),
expected = """
|error: no given instance of type scope.ScopeContext was found for parameter ctx of method scoped in class ModelScopeMapperSyntaxOps
|error: No given instance of type scope.ScopeContext was found for parameter ctx of method scoped in class ModelScopeMapperSyntaxOps
| 1.scoped.as[String]
| ^
|""".stripMargin
Expand Down
2 changes: 1 addition & 1 deletion core/src/test/scala-3/scope/ModelMapperTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class ModelMapperTest extends munit.FunSuite {
1.scoped.as[String]
"""),
expected = """
|error: no given instance of type scope.ScopeContext was found for parameter ctx of method scoped in class ModelScopeMapperSyntaxOps
|error: No given instance of type scope.ScopeContext was found for parameter ctx of method scoped in class ModelScopeMapperSyntaxOps
| 1.scoped.as[String]
| ^
|""".stripMargin
Expand Down
2 changes: 1 addition & 1 deletion core/src/test/scala-3/scope/ScopeContextTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ScopeContextTest extends munit.FunSuite {
summon[ScopeContext]
"""),
expected = """
|error: ambiguous given instances: both given instance given_TypedScopeContext_Endpoint and given instance given_TypedScopeContext_Domain match type scope.ScopeContext of parameter x of method summon in object Predef
|error: Ambiguous given instances: both given instance given_TypedScopeContext_Endpoint and given instance given_TypedScopeContext_Domain match type scope.ScopeContext of parameter x of method summon in object Predef
| summon[ScopeContext]
| ^
|""".stripMargin
Expand Down
2 changes: 1 addition & 1 deletion project/ProjectDependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import sbt._

object ProjectDependencies {

private val catsVersion = "2.8.0"
private val catsVersion = "2.9.0"
private val munitVersion = "0.7.29"

lazy val common: Seq[ModuleID] = Seq(
Expand Down

0 comments on commit 6b7fa6e

Please sign in to comment.