diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8839aa..6607e3a 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,14 +50,14 @@ jobs: key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - name: Check that workflows are up to date - run: sbt ++${{ matrix.scala }} githubWorkflowCheck + run: sbt --client '++${{ matrix.scala }}; githubWorkflowCheck' - name: Build, test and check libraries - run: sbt ++${{ matrix.scala }} check + run: sbt --client '++${{ matrix.scala }}; check' - name: Build and test sbt plugin if: matrix.scala == '2.12.13' - run: sbt ++${{ matrix.scala }} scripted + run: sbt --client '++${{ matrix.scala }}; scripted' - name: Compress target directories run: tar cf targets.tar sbt/target meta/integration-tests/target target meta/docs/target cli/target core/target example/target project/target @@ -126,4 +126,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 fd17e8d..4202d00 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "1.0.0-RC5") -addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.10.1") +addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.11.0") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0") addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7") addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "0.2.16")