From 1c3f21f3c2bfeadbfe2720a44fa363aa3d155ff4 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Fri, 20 Dec 2024 19:39:22 +0200 Subject: [PATCH] Add sbt caching to GitHub Actions --- .github/workflows/sbt.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sbt.yml b/.github/workflows/sbt.yml index 791ef53f..fe01cba6 100644 --- a/.github/workflows/sbt.yml +++ b/.github/workflows/sbt.yml @@ -12,10 +12,11 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up JDK 21 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '21' + cache: 'sbt' - uses: sbt/setup-sbt@v1 - name: Test with SBT run: sbt test