From ae0b104e78951b44a3945654bb7619f811b26918 Mon Sep 17 00:00:00 2001 From: Roman Greshny Date: Tue, 17 Dec 2024 23:51:01 +0100 Subject: [PATCH] fix GH action --- .github/workflows/test.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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