From a617e42d8aa8e7d5f3907e6070d86d0cf8f1dc55 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 12 Jul 2022 06:51:21 -0700 Subject: [PATCH 1/2] use new sbt 1.7 feature to simplify Actions config --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8149300..ed8d51ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: java: [8, 11, 17] - scala: [2.12.15, 2.13.8, 3.0.2, 3.1.3] + scala: [2.12.x, 2.13.x, 3.0.x, 3.1.x] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 From dafa2df00afc08048c928c4d37c0745292f55f7e Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 12 Jul 2022 06:51:30 -0700 Subject: [PATCH 2/2] Actions config: use setup-java@v3 to improve caching --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed8d51ff..b9243bcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: coursier/cache-action@v6 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: temurin java-version: ${{matrix.java}} + cache: sbt - name: Test run: sbt ++${{matrix.scala}} test headerCheck versionPolicyCheck package