diff --git a/.gitea/workflows/scala-test.yml b/.gitea/workflows/scala-test.yml index 4538e25..6f087a2 100644 --- a/.gitea/workflows/scala-test.yml +++ b/.gitea/workflows/scala-test.yml @@ -8,18 +8,14 @@ jobs: - uses: actions/checkout@v4 - name: Set up Java (for sbt) - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: '11' + distribution: temurin + java-version: '11' # or 17/21 to match your project + cache: 'sbt' # auto-cache Coursier/Ivy for sbt - - name: Cache sbt deps - uses: actions/cache@v3 - with: - path: | - ~/.ivy2/cache - ~/.sbt - key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }} + - name: Set up sbt + uses: sbt/setup-sbt@v1 # installs sbt - name: Run tests - run: sbt test + run: sbt -batch -v test \ No newline at end of file