From 2d17e811171ee993a7584a5abb775344230a5407 Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Mon, 9 Oct 2023 16:33:26 +0400 Subject: [PATCH 1/5] Update zio-sbt-ci, zio-sbt-ecosystem, ... to 0.4.0-alpha.21 (#21) --- .github/workflows/ci.yml | 44 +++++++++++++++++++--------------------- project/plugins.sbt | 2 +- 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0a3f94..dbee801 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ name: CI env: JDK_JAVA_OPTIONS: -XX:+PrintCommandLineFlags -Xms6G -Xmx6G -Xss4M -XX:+UseG1GC - JVM_OPTS: -XX:+PrintCommandLineFlags -Xms6G -Xmx6G -Xss4M -XX:+UseG1GC 'on': workflow_dispatch: {} release: @@ -14,7 +13,6 @@ env: branches: - main pull_request: {} - create: {} jobs: build: name: Build @@ -22,16 +20,16 @@ jobs: continue-on-error: true steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin - java-version: '8' + distribution: corretto + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -47,16 +45,16 @@ jobs: continue-on-error: false steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin - java-version: '8' + distribution: corretto + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -72,22 +70,22 @@ jobs: fail-fast: false matrix: java: - - '8' - '11' - '17' + - '21' steps: - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin + distribution: corretto java-version: ${{ matrix.java }} check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Test @@ -99,16 +97,16 @@ jobs: if: ${{ github.event_name == 'push' }} steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin - java-version: '8' + distribution: corretto + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -128,7 +126,7 @@ jobs: app_private_key: ${{ secrets.APP_PRIVATE_KEY }} - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@v5.0.0 + uses: peter-evans/create-pull-request@v5.0.2 with: body: |- Autogenerated changes after running the `sbt docs/generateReadme` command of the [zio-sbt-website](https://zio.dev/zio-sbt) plugin. @@ -173,16 +171,16 @@ jobs: if: ${{ github.event_name != 'pull_request' }} steps: - name: Git Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.13.0 with: - distribution: temurin - java-version: '8' + distribution: corretto + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 diff --git a/project/plugins.sbt b/project/plugins.sbt index 9d9dba2..f31974e 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -val zioSbtVersion = "0.4.0-alpha.17" +val zioSbtVersion = "0.4.0-alpha.21" addSbtPlugin("dev.zio" % "zio-sbt-ecosystem" % zioSbtVersion) addSbtPlugin("dev.zio" % "zio-sbt-ci" % zioSbtVersion) From 346683694b90e4dc6905ae7f2e348f0f433017c2 Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Mon, 9 Oct 2023 16:34:26 +0400 Subject: [PATCH 2/5] Update sbt-scalafix to 0.11.1 (#16) --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index f31974e..2d89eae 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,7 +4,7 @@ addSbtPlugin("dev.zio" % "zio-sbt-ecosystem" % zioSbtVersion) addSbtPlugin("dev.zio" % "zio-sbt-ci" % zioSbtVersion) addSbtPlugin("dev.zio" % "zio-sbt-website" % zioSbtVersion) -addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.0") +addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.8") addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.0") From 67c3233a678152f5c3f735ad93ebad2c11e50ca2 Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Mon, 9 Oct 2023 16:34:41 +0400 Subject: [PATCH 3/5] Update munit-zio to 0.2.0 (#17) --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 63d8520..9a4640b 100644 --- a/build.sbt +++ b/build.sbt @@ -68,7 +68,7 @@ lazy val `zio-uuid` = "dev.zio" %%% "zio-json" % "0.6.1" % Optional, "dev.zio" %%% "zio-test" % zioVersion.value % Test, "org.scalameta" %%% "munit" % "0.7.29" % Test, - "com.github.poslegm" %% "munit-zio" % "0.1.1" % Test, + "com.github.poslegm" %% "munit-zio" % "0.2.0" % Test, ) ) From 463c5677ac162247dec770dde4f4bfdee0480149 Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Mon, 9 Oct 2023 16:35:16 +0400 Subject: [PATCH 4/5] Update zio, zio-test to 2.0.18 (#18) --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 9a4640b..151470d 100644 --- a/build.sbt +++ b/build.sbt @@ -10,7 +10,7 @@ inThisBuild( name := "zio-uuid", organization := "com.guizmaii", homepage := Some(url("https://github.com/guizmaii-opensource/zio-uuid")), - zioVersion := "2.0.16", + zioVersion := "2.0.18", scala213 := "2.13.11", scala3 := "3.3.0", crossScalaVersions -= scala212.value, From c478c46bc7cd20381adab64d6de9e179cac2c724 Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Mon, 9 Oct 2023 16:35:28 +0400 Subject: [PATCH 5/5] Update zio-json to 0.6.2 (#19) --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 151470d..f8b6547 100644 --- a/build.sbt +++ b/build.sbt @@ -65,7 +65,7 @@ lazy val `zio-uuid` = libraryDependencies ++= Seq( "dev.zio" %%% "zio" % zioVersion.value, "dev.zio" %% "zio-prelude" % "1.0.0-RC20", - "dev.zio" %%% "zio-json" % "0.6.1" % Optional, + "dev.zio" %%% "zio-json" % "0.6.2" % Optional, "dev.zio" %%% "zio-test" % zioVersion.value % Test, "org.scalameta" %%% "munit" % "0.7.29" % Test, "com.github.poslegm" %% "munit-zio" % "0.2.0" % Test,