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 diff --git a/project/plugins.sbt b/project/plugins.sbt index 5d73924..1d4e123 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,3 @@ addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.9.1") -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")