Update .gitea/workflows/scala-test.yml
Some checks failed
CI Demo / build (push) Successful in 4s
Docker Test / docker-ops (push) Successful in 6s
.NET Test / dotnet-test (push) Failing after 19s
Go Test / go-test (push) Failing after 6s
Java Test / java-hello (push) Successful in 29s
Julia Test / julia-test (push) Failing after 6s
Kotlin Test / kotlin-hello (push) Successful in 42s
Node.js Test / nodejs-test (push) Failing after 6s
Notebook Test / nb-test (push) Failing after 8s
PHP Test / php-test (push) Successful in 36s
Python Test / python-hello (push) Successful in 4s
Rust Test / rust-test (push) Has been cancelled
Scala Test / scala-test (push) Has been cancelled
Swift Test / swift-hello (push) Has been cancelled
R Test / r-cmdcheck (push) Has been cancelled

This commit is contained in:
2025-08-07 20:08:44 +00:00
parent 7128380954
commit fc327dfc32

View File

@@ -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