From c3523fdc4c7f8b23f01dd7f83a89f9d77966560b Mon Sep 17 00:00:00 2001 From: Michael Nedokushev Date: Mon, 30 Dec 2024 15:50:52 +0000 Subject: [PATCH] Fix 'sbt not found' error in CI (#925) --- .github/workflows/ci.yml | 12 ++++++++++++ project/plugins.sbt | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9c207e9..a221098a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,8 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup SBT + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Check all code compiles @@ -69,6 +71,8 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup SBT + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Check if the site workflow is up to date @@ -95,6 +99,8 @@ jobs: distribution: corretto java-version: ${{ matrix.java }} check-latest: true + - name: Setup SBT + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout @@ -121,6 +127,8 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup SBT + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Generate Readme @@ -195,6 +203,8 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup SBT + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Release @@ -224,6 +234,8 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup SBT + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Setup NodeJs diff --git a/project/plugins.sbt b/project/plugins.sbt index 8712b03f..99917086 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -val zioSbtVersion = "0.4.0-alpha.28" +val zioSbtVersion = "0.4.0-alpha.29" addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.2") addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0")