From 2e1cd3b31c18436c7334fa321452e4fb5481469a Mon Sep 17 00:00:00 2001 From: Rachel Miles <74301289+codingWithRach@users.noreply.github.com> Date: Wed, 6 Nov 2024 10:57:14 +0000 Subject: [PATCH] Add setup-sbt to workflow --- .github/workflows/ci.yml | 7 +------ .github/workflows/release.yml | 6 +----- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 881dc9d..6f9a91b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup JDK - uses: actions/setup-java@v4 - with: - distribution: corretto - java-version: 11 - cache: sbt + - uses: sbt/setup-sbt@v1.1.0 - name: Build # and "Test" to apply after having some tests run: sbt compile - name: Test Summary diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4120d0e..1f0b09f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: corretto - java-version: 11 - cache: sbt + - uses: sbt/setup-sbt@v1.1.0 - uses: actions/setup-node@v4 with: node-version-file: .nvmrc