Skip to content

Commit

Permalink
bump logback & scala versions (#261)
Browse files Browse the repository at this point in the history
* bump logback & scala versions

* fix github ci

* bump sbt-scoverage

---------

Co-authored-by: Denys Fakhritdinov <dfakhritdinov@evolution.com>
  • Loading branch information
dfakhritdinov and Denys Fakhritdinov authored Feb 1, 2024
1 parent 462fc38 commit 6c77ba3
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
fail-fast: false
matrix:
scala:
- 2.13.8
- 3.2.0
- 2.12.15
- 2.13.12
- 3.3.0
- 2.12.18

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inThisBuild(Seq(
startYear := Some(2019),
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))),

crossScalaVersions := Seq("2.13.8", "3.2.0", "2.12.15"),
crossScalaVersions := Seq("2.13.12", "3.3.0", "2.12.18"),

versionScheme := Some("semver-spec"),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object GroupWithin {

def empty[F[_]]: GroupWithin[F] = new GroupWithin[F] {

def apply[A](settings: Settings)(f: Nel[A] => F[Unit]) = {
def apply[A](settings: Settings)(f: Nel[A] => F[Unit]): Resource[F, Enqueue[F, A]] = {
val enqueue = new Enqueue[F, A] {
def apply(a: A) = f(Nel.of(a))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ object ToFuture {

implicit def ioToFuture(implicit runtime: IORuntime): ToFuture[IO] = new ToFuture[IO] {
def apply[A](fa: IO[A]) = {
Try(fa.syncStep.unsafeRunSync()) match {
Try(fa.syncStep(Int.MaxValue).unsafeRunSync()) match {
case Success(Left(computation)) =>
computation.unsafeToFuture()
case Success(Right(value)) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object ToTry {

for {
a <- Try {
fa.syncStep.unsafeRunSync() match {
fa.syncStep(Int.MaxValue).unsafeRunSync() match {
case Left(computation) =>
computation.unsafeRunTimed(timeout)
case Right(value) =>
Expand All @@ -58,7 +58,7 @@ object ToTry {


implicit val idToTry: ToTry[Id] = new ToTry[Id] {
def apply[A](fa: Id[A]) = Success(fa)
def apply[A](fa: Id[A]): Try[A] = Success(fa)
}


Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ object Dependencies {
val `slf4j-api` = "org.slf4j" % "slf4j-api" % "2.0.5"

object Logback {
val classic = "ch.qos.logback" % "logback-classic" % "1.4.5"
val classic = "ch.qos.logback" % "logback-classic" % "1.4.14"
}

object Cats {
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.8")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.9")

addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.9")

Expand Down

0 comments on commit 6c77ba3

Please sign in to comment.