Skip to content

Commit

Permalink
Add setup-sbt workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinlfer committed Dec 19, 2024
1 parent 5d1bb38 commit 9ba960c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# This file was autogenerated using `zio-sbt-ci` plugin via `sbt ciGenerateGithubWorkflow`
# task and should be included in the git repository. Please do not edit it manually.
# NOTE: This file was manually edited to add the `Setup sbt` step and remove the checks that ciGenerateGithubWorkflow until it is fixed.

name: CI
env:
Expand Down Expand Up @@ -34,6 +35,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
Expand All @@ -59,10 +62,10 @@ 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
run: sbt ciCheckGithubWorkflow
- name: Lint
run: sbt lint
test:
Expand All @@ -85,6 +88,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
Expand All @@ -111,6 +116,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
Expand Down Expand Up @@ -185,6 +192,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
Expand Down Expand Up @@ -214,6 +223,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
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.10.5
sbt.version=1.10.6

0 comments on commit 9ba960c

Please sign in to comment.