From 5bc4a5b45c2a2c38a0c8f91e57de71f6c9cd104d Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 1 Dec 2021 21:00:33 +0100 Subject: [PATCH 1/2] Update sbt-github-actions to 0.14.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 13837ec..c70b8bd 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -6,5 +6,5 @@ addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.9.2") addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7") addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") -addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.12.0") +addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.14.0") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") From edf6b3c7a1f321e4de13b098bd2cbb8ce5edeef8 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 1 Dec 2021 21:01:10 +0100 Subject: [PATCH 2/2] Regenerate workflow with sbt-github-actions --- .github/workflows/ci.yml | 12 +++++++----- .github/workflows/clean.yml | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90a86d3..33f91f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: matrix: os: [ubuntu-latest] scala: [2.11.12, 2.13.6, 2.12.14] - java: [adopt@1.8] + java: [temurin@11] runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) @@ -31,10 +31,12 @@ jobs: with: fetch-depth: 0 - - name: Setup Java and Scala - uses: olafurpg/setup-scala@v12 + - name: Setup Java (temurin@11) + if: matrix.java == 'temurin@11' + uses: actions/setup-java@v2 with: - java-version: ${{ matrix.java }} + distribution: temurin + java-version: 11 - name: Cache sbt uses: actions/cache@v2 @@ -61,4 +63,4 @@ jobs: env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_FLAG_NAME: Scala ${{ matrix.scala }} - run: sbt ++${{ matrix.scala }} coverageReport coveralls \ No newline at end of file + run: sbt ++${{ matrix.scala }} coverageReport coveralls diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index b535fcc..547aaa4 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -56,4 +56,4 @@ jobs: printf "Deleting '%s' #%d, %'d bytes\n" $name ${ARTCOUNT[$name]} $size ghapi -X DELETE $REPO/actions/artifacts/$id done - done \ No newline at end of file + done