From 4453279de1c19ec9b06f7443407909227c63ca71 Mon Sep 17 00:00:00 2001 From: Eric K Richardson Date: Thu, 28 Jul 2022 14:44:46 -0700 Subject: [PATCH] Update CI and add sbt cache --- .github/workflows/check-lint.yml | 2 +- .github/workflows/ci.yml | 1 + .github/workflows/release.yml | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml index 72195e01..42500666 100644 --- a/.github/workflows/check-lint.yml +++ b/.github/workflows/check-lint.yml @@ -7,5 +7,5 @@ jobs: check-lint: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: ./scripts/check-lint.sh \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e42ff4b2..1f153413 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,4 +19,5 @@ jobs: with: distribution: 'adopt' java-version: ${{ matrix.java }} + cache: 'sbt' - run: sbt +test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b1031a1..f837a1c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,14 +8,15 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'adopt' java-version: '17' + cache: 'sbt' - run: sbt ci-release env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}