Skip to content

Commit ea3e35a

Browse files
committed
Ensure sbt is installed in CI
1 parent 63b5eda commit ea3e35a

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
runs-on: ${{ matrix.os }}
3535
timeout-minutes: 60
3636
steps:
37+
- name: Install sbt
38+
uses: sbt/setup-sbt@v1
39+
3740
- name: Checkout current branch (full)
3841
uses: actions/checkout@v4
3942
with:
@@ -103,6 +106,9 @@ jobs:
103106
java: [temurin@11]
104107
runs-on: ${{ matrix.os }}
105108
steps:
109+
- name: Install sbt
110+
uses: sbt/setup-sbt@v1
111+
106112
- name: Checkout current branch (full)
107113
uses: actions/checkout@v4
108114
with:
@@ -237,13 +243,16 @@ jobs:
237243

238244
dependency-submission:
239245
name: Submit Dependencies
240-
if: github.event_name != 'pull_request'
246+
if: github.event.repository.fork == false && github.event_name != 'pull_request'
241247
strategy:
242248
matrix:
243249
os: [ubuntu-latest]
244250
java: [temurin@11]
245251
runs-on: ${{ matrix.os }}
246252
steps:
253+
- name: Install sbt
254+
uses: sbt/setup-sbt@v1
255+
247256
- name: Checkout current branch (full)
248257
uses: actions/checkout@v4
249258
with:
@@ -301,6 +310,9 @@ jobs:
301310
java: [temurin@11]
302311
runs-on: ${{ matrix.os }}
303312
steps:
313+
- name: Install sbt
314+
uses: sbt/setup-sbt@v1
315+
304316
- name: Checkout current branch (full)
305317
uses: actions/checkout@v4
306318
with:
@@ -329,7 +341,7 @@ jobs:
329341

330342
- name: Publish site
331343
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
332-
uses: peaceiris/actions-gh-pages@v3.9.3
344+
uses: peaceiris/actions-gh-pages@v4.0.0
333345
with:
334346
github_token: ${{ secrets.GITHUB_TOKEN }}
335347
publish_dir: msite/target/docs/site

project/plugins.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.6.7")
2-
addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % "0.6.7")
1+
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.4")
2+
addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % "0.7.4")
33

44
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7")
55

0 commit comments

Comments
 (0)