diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45e401e..da87c33 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: ['**'] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -32,7 +32,7 @@ jobs: fetch-depth: 0 - name: Setup Java and Scala - uses: olafurpg/setup-scala@v10 + uses: olafurpg/setup-scala@v12 with: java-version: ${{ matrix.java }} @@ -49,7 +49,7 @@ 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: Set up Ruby uses: ruby/setup-ruby@v1 @@ -62,10 +62,10 @@ jobs: gem install jekyll -v 4.0.0 - name: Test - run: sbt ++${{ matrix.scala }} clean coverage + run: sbt --client '++${{ matrix.scala }}; clean; coverage' - name: Coverage - run: sbt ++${{ matrix.scala }} coverageReport + run: sbt --client '++${{ matrix.scala }}; coverageReport' - uses: codecov/codecov-action@v1 @@ -95,7 +95,7 @@ jobs: fetch-depth: 0 - name: Setup Java and Scala - uses: olafurpg/setup-scala@v10 + uses: olafurpg/setup-scala@v12 with: java-version: ${{ matrix.java }} @@ -142,4 +142,4 @@ jobs: rm targets.tar - name: Publish project - run: sbt ++${{ matrix.scala }} +publish \ No newline at end of file + run: sbt --client '++${{ matrix.scala }}; +publish' \ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt index 3cb64c4..7941fda 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.10.1") +addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.12.0") addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.3") addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.2.20")