Skip to content

Commit

Permalink
CI: install sbt (#619)
Browse files Browse the repository at this point in the history
* CI: install sbt

more changes

* Update dependency-graph.yml
  • Loading branch information
pjfanning authored Oct 14, 2024
1 parent 5427d0c commit 1b1a960
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ jobs:
dependency-graph:
name: Update Dependency Graph
runs-on: ubuntu-latest
if: github.repository == 'apache/pekko-http'
steps:
- uses: actions/checkout@v4
- name: Install sbt
uses: sbt/setup-sbt@v1
- uses: scalacenter/sbt-dependency-submission@v2
with:
modules-ignore: pekko-http-tests_3 pekko-http-docs_3
5 changes: 4 additions & 1 deletion .github/workflows/headers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions: {}
jobs:
check-headers:
name: Check headers
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -19,6 +19,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
validate-links:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'apache/pekko-http'
steps:
- name: Checkout
Expand All @@ -29,6 +29,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
distribution: temurin
java-version: ${{ matrix.JDK }}

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-1.0-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-1.1-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down Expand Up @@ -53,6 +56,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/validate-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down Expand Up @@ -74,6 +77,9 @@ jobs:
distribution: temurin
java-version: ${{ matrix.JDK }}

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

- name: Cache Coursier cache
uses: coursier/cache-action@v6

Expand Down

0 comments on commit 1b1a960

Please sign in to comment.