From 8b9e0ad409175eae22b183913d225d41d5293304 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Mon, 24 May 2021 03:33:45 +0200 Subject: [PATCH 1/2] Update sbt-github-actions to 0.11.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index bac5ec4..1b8db49 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,5 +4,5 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1") addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.8.1") addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.7") -addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.10.1") +addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.11.0") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2") From d9bb71f533c13abae6f1a2ac039581d031ebe77f Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Mon, 24 May 2021 03:34:13 +0200 Subject: [PATCH 2/2] Regenerate workflow with sbt-github-actions --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1308616..0fadc75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,9 @@ name: Continuous Integration on: pull_request: - branches: ['*'] + branches: ['**'] push: - branches: ['*'] + branches: ['**'] tags: [v*] env: @@ -50,16 +50,16 @@ jobs: key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - name: Check binary compatibility - run: sbt ++${{ matrix.scala }} mimaReportBinaryIssues + run: sbt --client '++${{ matrix.scala }}; mimaReportBinaryIssues' - name: Check formatting - run: sbt ++${{ matrix.scala }} scalafmtCheckAll + run: sbt --client '++${{ matrix.scala }}; scalafmtCheckAll' - name: Check that workflows are up to date - run: sbt ++${{ matrix.scala }} githubWorkflowCheck + run: sbt --client '++${{ matrix.scala }}; githubWorkflowCheck' - name: Build project - run: sbt ++${{ matrix.scala }} test + run: sbt --client '++${{ matrix.scala }}; test' - name: Compress target directories run: tar cf targets.tar target project/target @@ -128,4 +128,4 @@ jobs: PGP_SECRET: ${{ secrets.PGP_SECRET }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - run: sbt ++${{ matrix.scala }} ci-release \ No newline at end of file + run: sbt --client '++${{ matrix.scala }}; ci-release' \ No newline at end of file