diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ecac5a0..46ac3b60 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Container modules occupy too much disk space. The GitHub-hosted runners ran into the # error: "no space left on device." @@ -36,11 +36,17 @@ jobs: swap-storage: false - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: temurin # See 'Supported distributions' for available options java-version: ${{ matrix.java }} check-latest: true + cache: 'sbt' + - name: Setup sbt + uses: sbt/setup-sbt@v1 + with: + sbt-runner-version: 1.10.5 + - name: ${{ matrix.command }} - name: Restore cache uses: actions/cache@v2 @@ -53,4 +59,4 @@ jobs: restore-keys: | cache-v1- - name: Compile and Test - run: sbt +test \ No newline at end of file + run: sbt +test