Skip to content

Commit

Permalink
ci(docs): Setup sbt in publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
rlemaitre committed Jan 14, 2025
1 parent dadeb49 commit 368fbf5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ concurrency:

jobs:
build:
name: Build and Test
name: Test
strategy:
matrix:
os: [ubuntu-latest]
Expand All @@ -33,14 +33,14 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- name: Install sbt
uses: sbt/setup-sbt@v1

- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Setup Java (graalvm@21)
id: setup-java-graalvm-21
if: matrix.java == 'graalvm@21'
Expand Down Expand Up @@ -100,14 +100,14 @@ jobs:
java: [graalvm@21]
runs-on: ${{ matrix.os }}
steps:
- name: Install sbt
uses: sbt/setup-sbt@v1

- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Setup Java (graalvm@21)
id: setup-java-graalvm-21
if: matrix.java == 'graalvm@21'
Expand Down Expand Up @@ -160,18 +160,18 @@ jobs:
if: github.event.repository.fork == false && github.event_name != 'pull_request'
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04]
java: [graalvm@21]
runs-on: ${{ matrix.os }}
steps:
- name: Install sbt
uses: sbt/setup-sbt@v1

- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Setup Java (graalvm@21)
id: setup-java-graalvm-21
if: matrix.java == 'graalvm@21'
Expand All @@ -194,7 +194,7 @@ jobs:
name: Validate Steward Config
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -341,6 +341,9 @@ jobs:
if: matrix.java == 'temurin@17' && steps.setup-java-temurin-17.outputs.cache-hit == 'false'
run: sbt +update

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Install docToolchain
run: ./dtcw local install doctoolchain

Expand Down
1 change: 1 addition & 0 deletions ci.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ val websitePublication = WorkflowJob(
) ++
WorkflowStep.SetupJava(List(JavaSpec.temurin("17"))) ++
List(
WorkflowStep.SetupSbt,
WorkflowStep.Run(
name = Some("Install docToolchain"),
commands = List("./dtcw local install doctoolchain")
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.4")
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.5")
// Build
addSbtPlugin("com.timushev.sbt" % "sbt-rewarn" % "0.1.3")
addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "0.3.1")
Expand Down

0 comments on commit 368fbf5

Please sign in to comment.