Skip to content

Commit 82d2489

Browse files
jakubjanecekmergify[bot]
authored andcommitted
build: Update ZIO (#42)
* build: Update ZIO to 1.0.0-RC14 * build: Update zio-interop-cats to 2.0.0.0-RC6
1 parent 056a6db commit 82d2489

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

bundle-zio-http4s-blaze/src/main/scala/com/avast/sst/bundle/ZioResourceApp.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package com.avast.sst.bundle
22

33
import cats.effect.Resource
44
import org.slf4j.LoggerFactory
5+
import zio._
56
import zio.interop.catz._
6-
import zio.{Task, ZIO}
77

88
/** Extend this `trait` if you want to implement application using [[zio.ZIO]] effect data type.
99
*
@@ -15,7 +15,7 @@ trait ZioResourceApp[A] extends CatsApp {
1515

1616
def program: Resource[Task, A]
1717

18-
override def run(args: List[String]): ZIO[Environment, Nothing, Int] = {
18+
override def run(args: List[String]): ZIO[ZEnv, Nothing, Int] = {
1919
program
2020
.use(_ => Task.unit)
2121
.fold(

bundle-zio-http4s-blaze/src/main/scala/com/avast/sst/bundle/ZioServerApp.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import cats.effect.Resource
44
import com.github.ghik.silencer.silent
55
import org.http4s.server.Server
66
import org.slf4j.LoggerFactory
7+
import zio._
78
import zio.interop.catz._
8-
import zio.{Task, UIO, ZIO}
99

1010
/** Extend this `trait` if you want to implement server application using [[zio.ZIO]] effect data type.
1111
*
@@ -19,7 +19,7 @@ trait ZioServerApp extends CatsApp {
1919
def program: Resource[Task, Server[Task]]
2020

2121
@silent("dead code")
22-
override def run(args: List[String]): ZIO[Environment, Nothing, Int] = {
22+
override def run(args: List[String]): ZIO[ZEnv, Nothing, Int] = {
2323
program
2424
.use { server =>
2525
for {

project/Dependencies.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ object Dependencies {
1919
val silencer = "com.github.ghik" % "silencer-plugin" % Versions.silencer cross CrossVersion.full
2020
val silencerLib = "com.github.ghik" % "silencer-lib" % Versions.silencer cross CrossVersion.full
2121
val slf4jApi = "org.slf4j" % "slf4j-api" % "1.7.28"
22-
val zio = "dev.zio" %% "zio" % "1.0.0-RC14"
23-
val zioInteropCats = "dev.zio" %% "zio-interop-cats" % "2.0.0.0-RC5"
22+
val zio = "dev.zio" %% "zio" % "1.0.0-RC15"
23+
val zioInteropCats = "dev.zio" %% "zio-interop-cats" % "2.0.0.0-RC6"
2424

2525
object Versions {
2626

0 commit comments

Comments
 (0)