From ccfa1669c69eece2bd9ef4d7cc52f74403e730ef 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 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ecac5a0..c42cb53f 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,12 +36,15 @@ 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' + - uses: sbt/setup-sbt@v1 + with: + sbt-runner-version: 1.10.5 - name: Restore cache uses: actions/cache@v2 with: @@ -53,4 +56,4 @@ jobs: restore-keys: | cache-v1- - name: Compile and Test - run: sbt +test \ No newline at end of file + run: sbt +test