diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f59a1171..3769a251 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6 - name: Run Coursier Setup Action - uses: coursier/setup-action@62c1c28a0e03df3de0680172df8b829bd80d07a0 # v1.3.7 + uses: coursier/setup-action@039f736548afa5411c1382f40a5bd9c2d30e0383 # v1.3.9 with: jvm: liberica:${{ matrix.jdk }} apps: sbt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d4117f13..2089fa8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,11 +37,14 @@ jobs: if: github.event_name == 'push' uses: alejandrohdezma/actions/check-semver-tag@v1 - - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 + - name: Run Coursier Cache Action + uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6 + + - name: Run Coursier Setup Action + uses: coursier/setup-action@62c1c28a0e03df3de0680172df8b829bd80d07a0 # v1.3.7 with: - distribution: "liberica" - java-version: "11" - cache: "sbt" + jvm: liberica:17 + apps: sbt - name: Run `sbt ci-publish` run: sbt ci-publish @@ -65,11 +68,14 @@ jobs: ref: main token: ${{ secrets.ADMIN_GITHUB_TOKEN }} - - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 + - name: Run Coursier Cache Action + uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6 + + - name: Run Coursier Setup Action + uses: coursier/setup-action@62c1c28a0e03df3de0680172df8b829bd80d07a0 # v1.3.7 with: - distribution: "liberica" - java-version: "17" - cache: "sbt" + jvm: liberica:17 + apps: sbt - name: Run `sbt ci-docs` run: sbt ci-docs @@ -91,5 +97,3 @@ jobs: with: message: Reset `versionPolicyIntention` [skip ci] branch: main - - \ No newline at end of file diff --git a/build.sbt b/build.sbt index 37014239..f26d94c6 100644 --- a/build.sbt +++ b/build.sbt @@ -25,7 +25,7 @@ lazy val `sbt-github` = module .enablePlugins(SbtPlugin) .settings(scriptedLaunchOpts += s"-Dplugin.version=${version.value}") .settings(libraryDependencies += "org.typelevel" %% "jawn-parser" % "1.6.0") - .settings(libraryDependencies += "org.scalameta" %% "munit" % "1.0.3" % Test) + .settings(libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test) .settings(libraryDependencies += "org.http4s" %% "http4s-dsl" % "0.23.30" % Test) .settings(libraryDependencies += "org.http4s" %% "http4s-blaze-server" % "0.23.17" % Test) diff --git a/project/plugins.sbt b/project/plugins.sbt index 4707ecde..2d78cf0b 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,6 @@ -addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0") +addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.0") addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.1") -addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.16.0") +addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.17.0") addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.2") addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.3.2") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafix-defaults" % "0.13.1") @@ -8,5 +8,5 @@ addSbtPlugin("com.alejandrohdezma" % "sbt-scalafmt-defaults" % "0.9.1") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.2") addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.6.2") -addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.3") addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.2")