Skip to content

Commit 65df431

Browse files
committed
Fix sbt setup in build matrix
1 parent 5e099b7 commit 65df431

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,18 @@ jobs:
6868
steps:
6969
- name: Checkout
7070
uses: actions/checkout@v5
71-
72-
- name: SBT (build matrix)
73-
uses: ./.github/actions/sbt
71+
- name: Set up Java
72+
uses: actions/setup-java@v4
7473
with:
75-
java-version: '17'
7674
distribution: temurin
77-
commands: ${{ matrix.commands }}
75+
java-version: '17'
76+
cache: sbt
77+
78+
- name: Set up sbt
79+
uses: sbt/setup-sbt@v1
80+
81+
- name: Run module commands
82+
run: sbt -batch ${{ matrix.commands }}
7883

7984
scaladoc:
8085
name: Scaladoc

0 commit comments

Comments
 (0)