From 321577e83bc2b72ef10ef95685e23b17c9f8b47e Mon Sep 17 00:00:00 2001 From: Philippus Baalman Date: Sun, 19 Jan 2025 09:36:11 +0100 Subject: [PATCH] Add sbt/setup-sbt action (#3288) --- .github/workflows/build.yml | 9 +++++++++ .github/workflows/lint.yml | 3 +++ .github/workflows/pr.yml | 9 +++++++++ .github/workflows/release.yml | 1 + 4 files changed, 22 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d47a4c29..a559205fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,9 @@ jobs: distribution: temurin java-version: 11 + - name: set up sbt + uses: sbt/setup-sbt@v1 + - name: Launch elastic docker uses: ./.github/actions/launch-elasticsearch @@ -46,6 +49,9 @@ jobs: distribution: temurin java-version: 11 + - name: set up sbt + uses: sbt/setup-sbt@v1 + - name: Launch elastic docker uses: ./.github/actions/launch-elasticsearch @@ -66,6 +72,9 @@ jobs: distribution: temurin java-version: 11 + - name: set up sbt + uses: sbt/setup-sbt@v1 + - name: Launch elastic docker uses: ./.github/actions/launch-elasticsearch diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6e1ab3e3d..e4794b0cc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,5 +22,8 @@ jobs: distribution: temurin java-version: 11 + - name: set up sbt + uses: sbt/setup-sbt@v1 + - name: run lint run: sbt -v "+scalafmtCheckAll;scalafmtSbtCheck" diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b4486f991..a8da23590 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,6 +22,9 @@ jobs: distribution: temurin java-version: 11 + - name: set up sbt + uses: sbt/setup-sbt@v1 + - name: Launch elastic docker uses: ./.github/actions/launch-elasticsearch @@ -43,6 +46,9 @@ jobs: distribution: temurin java-version: 11 + - name: set up sbt + uses: sbt/setup-sbt@v1 + - name: Launch elastic docker uses: ./.github/actions/launch-elasticsearch @@ -64,6 +70,9 @@ jobs: distribution: temurin java-version: 11 + - name: set up sbt + uses: sbt/setup-sbt@v1 + - name: Launch elastic docker uses: ./.github/actions/launch-elasticsearch diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87a6c11d7..72181b6de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,7 @@ jobs: with: distribution: temurin java-version: 11 + - uses: sbt/setup-sbt@v1 - run: sbt ci-release env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}