From e7d79cf4f7aa9454dc190fe0bfcc02a3492640cb Mon Sep 17 00:00:00 2001 From: thecoderatekid Date: Thu, 7 Aug 2025 18:56:36 +0000 Subject: [PATCH] Add .gitea/workflows/scala-test.yml --- .gitea/workflows/scala-test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/scala-test.yml diff --git a/.gitea/workflows/scala-test.yml b/.gitea/workflows/scala-test.yml new file mode 100644 index 0000000..4538e25 --- /dev/null +++ b/.gitea/workflows/scala-test.yml @@ -0,0 +1,25 @@ +name: Scala Test +on: [push] + +jobs: + scala-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Java (for sbt) + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '11' + + - name: Cache sbt deps + uses: actions/cache@v3 + with: + path: | + ~/.ivy2/cache + ~/.sbt + key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }} + + - name: Run tests + run: sbt test