Skip to content

Commit

Permalink
fix GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
greshny committed Dec 17, 2024
1 parent 176762b commit f2b355a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -36,11 +36,16 @@ 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: ${{ matrix.command }}

- name: Restore cache
uses: actions/cache@v2
Expand All @@ -53,4 +58,4 @@ jobs:
restore-keys: |
cache-v1-
- name: Compile and Test
run: sbt +test
run: sbt +test

0 comments on commit f2b355a

Please sign in to comment.