Skip to content

Commit

Permalink
CI: setup-sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Oct 13, 2024
1 parent ed43144 commit d93740c
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/check-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
distribution: temurin
java-version: 11

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

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

Expand Down Expand Up @@ -101,6 +104,9 @@ jobs:
distribution: temurin
java-version: 11

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

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

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

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

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

Expand Down Expand Up @@ -173,6 +182,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 @@ -205,6 +217,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/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: 11

- 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/link-validator.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
6 changes: 6 additions & 0 deletions .github/workflows/nightly-pekko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,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 Expand Up @@ -76,6 +79,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-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,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 @@ -21,6 +21,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/publish-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ permissions:
jobs:
publish-nightly:
name: Publish nightly
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'apache/pekko-connectors-kafka'
steps:
- name: Checkout
Expand All @@ -43,6 +43,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Publish to Apache Maven repo
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
Expand Down

0 comments on commit d93740c

Please sign in to comment.