Skip to content

Commit

Permalink
CI: setup-sbt (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Oct 13, 2024
1 parent 4b82fe8 commit ea5a8f2
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,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 @@ -64,6 +67,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 @@ -107,6 +113,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 @@ -146,6 +155,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
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
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-persistence-r2dbc'
steps:
- name: Checkout
Expand All @@ -28,6 +28,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-tests-pekko1.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,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 @@ -62,6 +65,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
5 changes: 4 additions & 1 deletion .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
publish-docs:
if: github.repository == 'apache/pekko-persistence-r2dbc'
name: Publish 1.0 Docs
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
Expand All @@ -25,6 +25,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Install Graphviz
run: |-
sudo apt-get install graphviz
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 @@ -10,7 +10,7 @@ jobs:
# runs on main repo only
if: github.repository == 'apache/pekko-persistence-r2dbc'
name: Publish
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
Expand All @@ -27,6 +27,9 @@ jobs:
distribution: temurin
java-version: 8

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

- name: Install Graphviz
run: |-
sudo apt-get install graphviz
Expand Down

0 comments on commit ea5a8f2

Please sign in to comment.