From 81cb6487c244e30c6d8bade6179bda4deca9ff14 Mon Sep 17 00:00:00 2001 From: Scala Steward <43047562+scala-steward@users.noreply.github.com> Date: Sun, 25 Aug 2024 22:35:37 +0200 Subject: [PATCH] Update sbt-github-actions to 0.24.0 (#94) * Update sbt-github-actions to 0.24.0 * Regenerate GitHub Actions workflow Executed command: sbt githubWorkflowGenerate --- .github/workflows/ci.yml | 11 +++++++---- project/plugins.sbt | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 646b37e..8b626b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: matrix: os: [ubuntu-latest] scala: [2.12.19, 2.13.14, 3.3.3] - java: [temurin@8, temurin@11, temurin@17] + java: [zulu@8, temurin@11, temurin@17] runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) @@ -31,11 +31,11 @@ jobs: with: fetch-depth: 0 - - name: Setup Java (temurin@8) - if: matrix.java == 'temurin@8' + - name: Setup Java (zulu@8) + if: matrix.java == 'zulu@8' uses: actions/setup-java@v4 with: - distribution: temurin + distribution: zulu java-version: 8 cache: sbt @@ -55,6 +55,9 @@ jobs: java-version: 17 cache: sbt + - name: Setup sbt + uses: sbt/setup-sbt@v1 + - name: Lint Scala code run: sbt '++ ${{ matrix.scala }}' 'scalafix --check' scalafmtCheckAll diff --git a/project/plugins.sbt b/project/plugins.sbt index 019b965..621ee4d 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -10,6 +10,6 @@ addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "0.3.1") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0") addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.6.1") -addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.23.0") +addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.24.0") addDependencyTreePlugin