From fa0a489926c1733ce1369af7ab0d5fd3019f2d89 Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sat, 23 Sep 2023 17:51:11 +0400 Subject: [PATCH 1/6] Drop Java 8 support --- .../src/main/scala/zio/sbt/ScalaCompilerSettings.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zio-sbt-ecosystem/src/main/scala/zio/sbt/ScalaCompilerSettings.scala b/zio-sbt-ecosystem/src/main/scala/zio/sbt/ScalaCompilerSettings.scala index 16661421..c19521f4 100644 --- a/zio-sbt-ecosystem/src/main/scala/zio/sbt/ScalaCompilerSettings.scala +++ b/zio-sbt-ecosystem/src/main/scala/zio/sbt/ScalaCompilerSettings.scala @@ -158,7 +158,7 @@ trait ScalaCompilerSettings { def stdSettings( name: Option[String] = None, packageName: Option[String] = None, - javaPlatform: String = "8", + javaPlatform: String = "11", enableKindProjector: Boolean = true, enableCrossProject: Boolean = false, enableScalafix: Boolean = true, From d05401759bbd583338587d4113ab26be8fa5f9a5 Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sat, 23 Sep 2023 18:26:20 +0400 Subject: [PATCH 2/6] Drop Java 8 support --- .github/workflows/ci.yml | 15 ++++++--------- README.md | 18 ++++++------------ docs/index.md | 19 ++++++------------- project/Versions.scala | 6 +++--- .../src/main/scala/zio/sbt/Versions.scala | 6 +++--- .../.github/workflows/ci.yml | 5 ++--- 6 files changed, 26 insertions(+), 43 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03b2b303..5ff975e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: uses: actions/setup-java@v3.13.0 with: distribution: temurin - java-version: '8' + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -55,7 +55,7 @@ jobs: uses: actions/setup-java@v3.13.0 with: distribution: temurin - java-version: '8' + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -70,10 +70,7 @@ jobs: strategy: fail-fast: false matrix: - java: - - '8' - - '11' - - '17' + java: ['11', '17', '21'] steps: - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev @@ -107,7 +104,7 @@ jobs: uses: actions/setup-java@v3.13.0 with: distribution: temurin - java-version: '8' + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -181,7 +178,7 @@ jobs: uses: actions/setup-java@v3.13.0 with: distribution: temurin - java-version: '8' + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 @@ -210,7 +207,7 @@ jobs: uses: actions/setup-java@v3.13.0 with: distribution: temurin - java-version: '8' + java-version: '17' check-latest: true - name: Cache Dependencies uses: coursier/cache-action@v6 diff --git a/README.md b/README.md index 4df2ca73..5f784a73 100644 --- a/README.md +++ b/README.md @@ -140,10 +140,7 @@ test: strategy: fail-fast: false matrix: - java: - - '8' - - '11' - - '17' + java: ['11', '17', '21'] steps: - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev @@ -171,12 +168,12 @@ In some cases, we may have multiple submodules in our project and we want to tes The `ciTargetScalaVersions` setting key is used to define a mapping of project names to the Scala versions that should be used for testing phase of continuous integration (CI). -For example, suppose we have a project with the name "submoduleA" and we want to test it against Scala `2.12.18`, and for the "submoduleB" we want to test it against Scala `2.12.18` and `2.13.11` and `3.3.0`, We can define the `ciTargetScalaVersions` setting as follows: +For example, suppose we have a project with the name "submoduleA" and we want to test it against Scala `2.12.18`, and for the "submoduleB" we want to test it against Scala `2.12.18` and `2.13.12` and `3.3.1`, We can define the `ciTargetScalaVersions` setting as follows: ```scala ThisBuild / ciTargetScalaVersions := Map( "submoduleA" -> Seq("2.12.18"), - "submoduleB" -> Seq("2.12.18", "2.13.11", "3.3.0") + "submoduleB" -> Seq("2.12.18", "2.13.12", "3.3.1") ) ``` @@ -207,15 +204,12 @@ test: strategy: fail-fast: false matrix: - java: - - '8' - - '11' - - '17' + java: ['11', '17', '21'] scala-project: - ++2.12.18 submoduleA - ++2.12.18 submoduleB - - ++2.13.11 submoduleB - - ++3.3.0 submoduleB + - ++2.13.12 submoduleB + - ++3.3.1 submoduleB steps: - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev diff --git a/docs/index.md b/docs/index.md index 5fbd6cb1..03165b30 100644 --- a/docs/index.md +++ b/docs/index.md @@ -138,11 +138,7 @@ test: continue-on-error: false strategy: fail-fast: false - matrix: - java: - - '8' - - '11' - - '17' + java: ['11', '17', '21'] steps: - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev @@ -170,12 +166,12 @@ In some cases, we may have multiple submodules in our project and we want to tes The `ciTargetScalaVersions` setting key is used to define a mapping of project names to the Scala versions that should be used for testing phase of continuous integration (CI). -For example, suppose we have a project with the name "submoduleA" and we want to test it against Scala `2.12.18`, and for the "submoduleB" we want to test it against Scala `2.12.18` and `2.13.11` and `3.3.0`, We can define the `ciTargetScalaVersions` setting as follows: +For example, suppose we have a project with the name "submoduleA" and we want to test it against Scala `2.12.18`, and for the "submoduleB" we want to test it against Scala `2.12.18` and `2.13.12` and `3.3.1`, We can define the `ciTargetScalaVersions` setting as follows: ```scala ThisBuild / ciTargetScalaVersions := Map( "submoduleA" -> Seq("2.12.18"), - "submoduleB" -> Seq("2.12.18", "2.13.11", "3.3.0") + "submoduleB" -> Seq("2.12.18", "2.13.12", "3.3.1") ) ``` @@ -206,15 +202,12 @@ test: strategy: fail-fast: false matrix: - java: - - '8' - - '11' - - '17' + java: ['11', '17', '21'] scala-project: - ++2.12.18 submoduleA - ++2.12.18 submoduleB - - ++2.13.11 submoduleB - - ++3.3.0 submoduleB + - ++2.13.12 submoduleB + - ++3.3.1 submoduleB steps: - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev diff --git a/project/Versions.scala b/project/Versions.scala index 536a8d11..01bee139 100644 --- a/project/Versions.scala +++ b/project/Versions.scala @@ -1,6 +1,6 @@ object Versions { val Scala212 = "2.12.18" - val Scala213 = "2.13.11" - val Scala3 = "3.3.0" - val zio = "2.0.16" + val Scala213 = "2.13.12" + val Scala3 = "3.3.1" + val zio = "2.0.17" } diff --git a/zio-sbt-ecosystem/src/main/scala/zio/sbt/Versions.scala b/zio-sbt-ecosystem/src/main/scala/zio/sbt/Versions.scala index bca39e40..d333e0c0 100644 --- a/zio-sbt-ecosystem/src/main/scala/zio/sbt/Versions.scala +++ b/zio-sbt-ecosystem/src/main/scala/zio/sbt/Versions.scala @@ -22,11 +22,11 @@ object Versions { val KindProjectorVersion = "0.13.2" val ScaluzziVersion = "0.1.23" - val scala3 = "3.3.0" + val scala3 = "3.3.1" val scala212 = "2.12.18" - val scala213 = "2.13.11" + val scala213 = "2.13.12" - val zioVersion = "2.0.16" + val zioVersion = "2.0.17" lazy val betterMonadFor: ModuleID = "com.olegpy" %% "better-monadic-for" % "0.3.1" } diff --git a/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml b/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml index 85ed6c5b..b710cb92 100644 --- a/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml +++ b/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml @@ -2,7 +2,6 @@ name: CI env: JDK_JAVA_OPTIONS: -XX:+PrintCommandLineFlags -Xmx6G -Xss4M -XX:+UseG1GC # JDK_JAVA_OPTIONS is _the_ env. variable to use for modern Java - JVM_OPTS: -XX:+PrintCommandLineFlags -Xmx6G -Xss4M -XX:+UseG1GC # for Java 8 only (sadly, it is not modern enough for JDK_JAVA_OPTIONS) NODE_OPTIONS: --max_old_space_size=6144 on: @@ -21,9 +20,9 @@ jobs: strategy: fail-fast: false matrix: - java: ['8', '11', '17'] + java: ['11', '17', '21'] # These version must be different than the versions in V.scala to verify that we are reading from the ci.yml file. - scala: ['2.12.18', '2.13.11', '3.3.0' ] + scala: ['2.12.18', '2.13.12', '3.3.1' ] steps: - uses: actions/checkout@v4.0.0 - uses: actions/setup-java@v3.12.0 From ceb56f40c1975dfe35c8990a2e9dcd6ad021e7f7 Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sat, 23 Sep 2023 18:29:16 +0400 Subject: [PATCH 3/6] Drop Java 8 support --- .github/workflows/ci.yml | 12 ++++++------ README.md | 4 ++-- docs/index.md | 4 ++-- .../verifySettingsWithCI/.github/workflows/ci.yml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ff975e6..eced0700 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Scala uses: actions/setup-java@v3.13.0 with: - distribution: temurin + distribution: corretto java-version: '17' check-latest: true - name: Cache Dependencies @@ -54,7 +54,7 @@ jobs: - name: Setup Scala uses: actions/setup-java@v3.13.0 with: - distribution: temurin + distribution: corretto java-version: '17' check-latest: true - name: Cache Dependencies @@ -77,7 +77,7 @@ jobs: - name: Setup Scala uses: actions/setup-java@v3.13.0 with: - distribution: temurin + distribution: corretto java-version: ${{ matrix.java }} check-latest: true - name: Cache Dependencies @@ -103,7 +103,7 @@ jobs: - name: Setup Scala uses: actions/setup-java@v3.13.0 with: - distribution: temurin + distribution: corretto java-version: '17' check-latest: true - name: Cache Dependencies @@ -177,7 +177,7 @@ jobs: - name: Setup Scala uses: actions/setup-java@v3.13.0 with: - distribution: temurin + distribution: corretto java-version: '17' check-latest: true - name: Cache Dependencies @@ -206,7 +206,7 @@ jobs: - name: Setup Scala uses: actions/setup-java@v3.13.0 with: - distribution: temurin + distribution: corretto java-version: '17' check-latest: true - name: Cache Dependencies diff --git a/README.md b/README.md index 5f784a73..dc2207a0 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ test: - name: Setup Scala uses: actions/setup-java@v3.12.0 with: - distribution: temurin + distribution: corretto java-version: ${{ matrix.java }} check-latest: true - name: Cache Dependencies @@ -216,7 +216,7 @@ test: - name: Setup Scala uses: actions/setup-java@v3.10.0 with: - distribution: temurin + distribution: corretto java-version: ${{ matrix.java }} check-latest: true - name: Cache Dependencies diff --git a/docs/index.md b/docs/index.md index 03165b30..9c6ffaac 100644 --- a/docs/index.md +++ b/docs/index.md @@ -145,7 +145,7 @@ test: - name: Setup Scala uses: actions/setup-java@v3.12.0 with: - distribution: temurin + distribution: corretto java-version: ${{ matrix.java }} check-latest: true - name: Cache Dependencies @@ -214,7 +214,7 @@ test: - name: Setup Scala uses: actions/setup-java@v3.10.0 with: - distribution: temurin + distribution: corretto java-version: ${{ matrix.java }} check-latest: true - name: Cache Dependencies diff --git a/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml b/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml index b710cb92..6fc01ee8 100644 --- a/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml +++ b/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v4.0.0 - uses: actions/setup-java@v3.12.0 with: - distribution: temurin + distribution: corretto java-version: ${{ matrix.java }} check-latest: true - name: Cache scala dependencies From 767c2f4bbdd16372e1f59ba4bd0211c6491420ff Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sat, 23 Sep 2023 18:35:53 +0400 Subject: [PATCH 4/6] Drop Java 8 support --- .github/workflows/ci.yml | 6 ++-- .../main/scala/zio/sbt/ZioSbtCiPlugin.scala | 31 +++++++++---------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eced0700..b42f2db4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ name: CI env: JDK_JAVA_OPTIONS: -XX:+PrintCommandLineFlags - JVM_OPTS: -XX:+PrintCommandLineFlags 'on': workflow_dispatch: {} release: @@ -70,7 +69,10 @@ jobs: strategy: fail-fast: false matrix: - java: ['11', '17', '21'] + java: + - '11' + - '17' + - '21' steps: - name: Install libuv run: sudo apt-get update && sudo apt-get install -y libuv1-dev diff --git a/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala b/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala index b3caedb4..6bb81ef2 100644 --- a/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala +++ b/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala @@ -45,7 +45,7 @@ object ZioSbtCiPlugin extends AutoPlugin { val ciUpdateReadmeCondition: SettingKey[Option[Condition]] = settingKey[Option[Condition]]("condition to update readme") val ciTargetJavaVersions: SettingKey[Seq[String]] = - settingKey[Seq[String]]("The default target Java versions for all modules, default is 8, 11, 17") + settingKey[Seq[String]]("The default target Java versions for all modules, default is 11, 17, 21") val ciTargetMinJavaVersions: SettingKey[Map[String, String]] = SettingKey[Map[String, String]]( "minimum target Java version for each module, default is an empty map which makes CI to use `ciAllTargetJavaVersions` to determine the minimum target Java version for all modules" @@ -56,7 +56,7 @@ object ZioSbtCiPlugin extends AutoPlugin { ) val ciDefaultJavaVersion: SettingKey[String] = settingKey[String]( - "The default Java version which is used in CI, especially for releasing artifacts, defaults to 8" + "The default Java version which is used in CI, especially for releasing artifacts, defaults to 17" ) val ciCheckGithubWorkflow: TaskKey[Unit] = taskKey[Unit]("Make sure if the ci.yml file is up-to-date") val ciCheckArtifactsBuildSteps: SettingKey[Seq[Step]] = @@ -187,7 +187,7 @@ object ZioSbtCiPlugin extends AutoPlugin { } } else { (for { - javaPlatform: String <- Set("8", "11", "17") + javaPlatform: String <- Set("11", "17", "21") scalaVersion: String <- scalaVersionMatrix.values.toSeq.flatten.toSet projects = scalaVersionMatrix.filterKeys { p => @@ -261,13 +261,6 @@ object ZioSbtCiPlugin extends AutoPlugin { } else { Step.StepSequence( Seq( - Step.SingleStep( - name = "Java 8 Tests", - condition = Some(Condition.Expression("matrix.java == '8'")), - run = Some( - prefixJobs + "sbt ${{ matrix.scala-project-java8 }}/test" - ) - ), Step.SingleStep( name = "Java 11 Tests", condition = Some(Condition.Expression("matrix.java == '11'")), @@ -281,6 +274,13 @@ object ZioSbtCiPlugin extends AutoPlugin { run = Some( prefixJobs + "sbt ${{ matrix.scala-project-java17 }}/test" ) + ), + Step.SingleStep( + name = "Java 21 Tests", + condition = Some(Condition.Expression("matrix.java == '21'")), + run = Some( + prefixJobs + "sbt ${{ matrix.scala-project-java21 }}/test" + ) ) ) ) @@ -521,10 +521,7 @@ object ZioSbtCiPlugin extends AutoPlugin { val nodeOptions = ciNodeOptions.value val jvmMap = Map( - // JDK_JAVA_OPTIONS is _the_ env. variable to use for modern Java "JDK_JAVA_OPTIONS" -> jvmOptions.mkString(" "), - // For Java 8 only (sadly, it is not modern enough for JDK_JAVA_OPTIONS) - "JVM_OPTS" -> jvmOptions.mkString(" ") ) val nodeMap: Map[String, String] = if (nodeOptions.nonEmpty) Map("NODE_OPTIONS" -> nodeOptions.mkString(" ")) else Map.empty @@ -575,7 +572,7 @@ object ZioSbtCiPlugin extends AutoPlugin { ciUpdateReadmeCondition := None, ciGroupSimilarTests := false, ciSwapSizeGB := 0, - ciTargetJavaVersions := Seq("8", "11", "17"), + ciTargetJavaVersions := Seq("11", "17", "21"), ciCheckArtifactsBuildSteps := Seq( Step.SingleStep( @@ -600,7 +597,7 @@ object ZioSbtCiPlugin extends AutoPlugin { ), ciBackgroundJobs := Seq.empty, ciMatrixMaxParallel := None, - ciDefaultJavaVersion := "8", + ciDefaultJavaVersion := "17", ciBuildJobs := buildJobs.value, ciLintJobs := lintJobs.value, ciTestJobs := testJobs.value, @@ -662,11 +659,11 @@ object ZioSbtCiPlugin extends AutoPlugin { run = Some("sudo apt-get update && sudo apt-get install -y libuv1-dev") ) - def SetupJava(version: String = "8"): Step.SingleStep = Step.SingleStep( + def SetupJava(version: String = "17"): Step.SingleStep = Step.SingleStep( name = "Setup Scala", uses = Some(ActionRef(V("actions/setup-java"))), parameters = Map( - "distribution" -> "temurin".asJson, + "distribution" -> "corretto".asJson, "java-version" -> version.asJson, "check-latest" -> true.asJson ) From b06b4ebf94a5f0a75021f3158ca02a6985930403 Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sat, 23 Sep 2023 18:39:14 +0400 Subject: [PATCH 5/6] scalafmt --- zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala b/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala index 6bb81ef2..a2b59f9b 100644 --- a/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala +++ b/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala @@ -521,7 +521,7 @@ object ZioSbtCiPlugin extends AutoPlugin { val nodeOptions = ciNodeOptions.value val jvmMap = Map( - "JDK_JAVA_OPTIONS" -> jvmOptions.mkString(" "), + "JDK_JAVA_OPTIONS" -> jvmOptions.mkString(" ") ) val nodeMap: Map[String, String] = if (nodeOptions.nonEmpty) Map("NODE_OPTIONS" -> nodeOptions.mkString(" ")) else Map.empty From d610b94d258c8124ab113bb91474f99f66bf2c7e Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sun, 24 Sep 2023 11:38:47 +0400 Subject: [PATCH 6/6] Update actions/checkout to v4.1.0 --- .github/workflows/ci.yml | 14 +++++++------- README.md | 4 ++-- docs/index.md | 4 ++-- zio-sbt-ci/src/main/scala/zio/sbt/V.scala | 2 +- .../verifySettingsWithCI/.github/workflows/ci.yml | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b42f2db4..b0c5c307 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: continue-on-error: true steps: - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv @@ -45,7 +45,7 @@ jobs: continue-on-error: false steps: - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv @@ -85,7 +85,7 @@ jobs: - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Test @@ -97,7 +97,7 @@ jobs: if: ${{ github.event_name == 'push' }} steps: - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv @@ -171,7 +171,7 @@ jobs: if: ${{ github.event_name != 'pull_request' }} steps: - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv @@ -200,7 +200,7 @@ jobs: if: ${{ ((github.event_name == 'release') && (github.event.action == 'published')) || (github.event_name == 'workflow_dispatch') }} steps: - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Install libuv @@ -231,7 +231,7 @@ jobs: if: ${{ (github.event_name == 'release') && (github.event.action == 'published') }} steps: - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: notify the main repo about the new release of docs package diff --git a/README.md b/README.md index dc2207a0..9cec2c4e 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ test: - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Test @@ -222,7 +222,7 @@ test: - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Test diff --git a/docs/index.md b/docs/index.md index 9c6ffaac..990b5e81 100644 --- a/docs/index.md +++ b/docs/index.md @@ -151,7 +151,7 @@ test: - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Test @@ -220,7 +220,7 @@ test: - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - name: Test diff --git a/zio-sbt-ci/src/main/scala/zio/sbt/V.scala b/zio-sbt-ci/src/main/scala/zio/sbt/V.scala index f96dc512..f1ebd7b7 100644 --- a/zio-sbt-ci/src/main/scala/zio/sbt/V.scala +++ b/zio-sbt-ci/src/main/scala/zio/sbt/V.scala @@ -6,7 +6,7 @@ object V { "peter-evans/create-pull-request" -> "v5.0.2", "zio/generate-github-app-token" -> "v1.0.0", "pierotofy/set-swap-space" -> "master", - "actions/checkout" -> "v4.0.0", + "actions/checkout" -> "v4.1.0", "actions/setup-java" -> "v3.13.0", "coursier/cache-action" -> "v6", "actions/setup-node" -> "v3" diff --git a/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml b/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml index 6fc01ee8..1dadb578 100644 --- a/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml +++ b/zio-sbt-ecosystem/src/sbt-test/zio-sbt-ecosystem/verifySettingsWithCI/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: # These version must be different than the versions in V.scala to verify that we are reading from the ci.yml file. scala: ['2.12.18', '2.13.12', '3.3.1' ] steps: - - uses: actions/checkout@v4.0.0 + - uses: actions/checkout@v4.1.0 - uses: actions/setup-java@v3.12.0 with: distribution: corretto