diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cf4cb0..71d6ce0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: matrix: os: [ubuntu-latest] scala: [2.12.19, 2.13.14] - java: [temurin@8] + java: [zulu@8] runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) @@ -32,14 +32,17 @@ 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 + - name: Setup sbt + uses: sbt/setup-sbt@v1 + - name: Check formatting run: sbt '++ ${{ matrix.scala }}' scalafmtCheckAll @@ -66,7 +69,7 @@ jobs: matrix: os: [ubuntu-latest] scala: [2.13.14] - java: [temurin@8] + java: [zulu@8] runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) @@ -74,14 +77,17 @@ 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 + - name: Setup sbt + uses: sbt/setup-sbt@v1 + - name: Download target directories (2.12.19) uses: actions/download-artifact@v4 with: diff --git a/project/plugins.sbt b/project/plugins.sbt index bec9ee1..4423ce8 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.23.0") +addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.24.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") addSbtPlugin("io.spray" % "sbt-revolver" % "0.10.0")