diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 2b113a9a..f4539c5f 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -10,7 +10,7 @@ on: jobs: check-code-style: name: Check Code Style - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -31,6 +31,9 @@ jobs: java-version: 11 distribution: temurin + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 @@ -39,7 +42,7 @@ jobs: check-code-compilation: name: Check Code Compilation - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -59,6 +62,9 @@ jobs: java-version: 11 distribution: temurin + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 @@ -67,7 +73,7 @@ jobs: check-docs: name: Check Docs - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -87,6 +93,9 @@ jobs: java-version: 11 distribution: temurin + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 diff --git a/.github/workflows/dependency-graph.yml b/.github/workflows/dependency-graph.yml index 94fe0803..a22d958b 100644 --- a/.github/workflows/dependency-graph.yml +++ b/.github/workflows/dependency-graph.yml @@ -10,4 +10,6 @@ jobs: if: github.repository == 'apache/pekko-projection' steps: - uses: actions/checkout@v4 + - name: Install sbt + uses: sbt/setup-sbt@v1 - uses: scalacenter/sbt-dependency-submission@v2 diff --git a/.github/workflows/headers.yml b/.github/workflows/headers.yml index f4d657ec..506c6923 100644 --- a/.github/workflows/headers.yml +++ b/.github/workflows/headers.yml @@ -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 @@ -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 diff --git a/.github/workflows/integration-tests-cassandra.yml b/.github/workflows/integration-tests-cassandra.yml index a0214a26..ddc278c0 100644 --- a/.github/workflows/integration-tests-cassandra.yml +++ b/.github/workflows/integration-tests-cassandra.yml @@ -10,7 +10,7 @@ on: jobs: test: name: Build and Test Integration for Cassandra - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -38,6 +38,9 @@ jobs: java-version: ${{ matrix.java-version }} distribution: temurin + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 diff --git a/.github/workflows/integration-tests-jdbc.yml b/.github/workflows/integration-tests-jdbc.yml index 92abc96b..2ba75595 100644 --- a/.github/workflows/integration-tests-jdbc.yml +++ b/.github/workflows/integration-tests-jdbc.yml @@ -10,7 +10,7 @@ on: jobs: test: name: Build and Test Integration for JDBC - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -42,6 +42,9 @@ jobs: java-version: ${{ matrix.java-version }} distribution: temurin + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 diff --git a/.github/workflows/integration-tests-kafka.yml b/.github/workflows/integration-tests-kafka.yml index c138f9f4..27f5f595 100644 --- a/.github/workflows/integration-tests-kafka.yml +++ b/.github/workflows/integration-tests-kafka.yml @@ -10,7 +10,7 @@ on: jobs: test: name: Build and Test Integration for Kafka - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -38,6 +38,9 @@ jobs: java-version: ${{ matrix.java-version }} distribution: temurin + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 diff --git a/.github/workflows/integration-tests-slick.yml b/.github/workflows/integration-tests-slick.yml index e01db26e..bff7e5c8 100644 --- a/.github/workflows/integration-tests-slick.yml +++ b/.github/workflows/integration-tests-slick.yml @@ -10,7 +10,7 @@ on: jobs: test: name: Build and Test Integration for Slick - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -42,6 +42,9 @@ jobs: java-version: ${{ matrix.java-version }} distribution: temurin + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index 631f98d8..a3d0133c 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -10,7 +10,7 @@ on: jobs: validate-links: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.repository == 'apache/pekko-projection' steps: - name: Checkout @@ -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 diff --git a/.github/workflows/nightly-pekko-1.0-tests.yml b/.github/workflows/nightly-pekko-1.0-tests.yml index a17adef1..2c3334e0 100644 --- a/.github/workflows/nightly-pekko-1.0-tests.yml +++ b/.github/workflows/nightly-pekko-1.0-tests.yml @@ -8,7 +8,7 @@ on: jobs: test: name: Build and Test Integration for JDBC - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -39,6 +39,9 @@ jobs: java-version: ${{ matrix.java-version }} distribution: temurin + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 diff --git a/.github/workflows/publish-1.0-docs.yml b/.github/workflows/publish-1.0-docs.yml index 6e073e50..6728b887 100644 --- a/.github/workflows/publish-1.0-docs.yml +++ b/.github/workflows/publish-1.0-docs.yml @@ -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 diff --git a/.github/workflows/publish-1.1-docs.yml b/.github/workflows/publish-1.1-docs.yml index d2472efb..f25bda32 100644 --- a/.github/workflows/publish-1.1-docs.yml +++ b/.github/workflows/publish-1.1-docs.yml @@ -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 diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml index b4032298..a431a652 100644 --- a/.github/workflows/publish-nightly.yml +++ b/.github/workflows/publish-nightly.yml @@ -10,7 +10,7 @@ jobs: # runs on main repo only if: github.repository == 'apache/pekko-projection' 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: @@ -27,6 +27,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 }} @@ -50,6 +53,9 @@ jobs: distribution: temurin java-version: 8 + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index f72dac20..96ab502d 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -10,7 +10,7 @@ on: jobs: test: name: Build and Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -40,6 +40,9 @@ jobs: java-version: ${{ matrix.java-version }} distribution: temurin + - name: Install sbt + uses: sbt/setup-sbt@v1 + - name: Cache Coursier cache uses: coursier/cache-action@v6 @@ -48,4 +51,4 @@ jobs: - name: Print logs on failure if: ${{ failure() }} - run: find . -name "*.log" -exec ./scripts/cat-log.sh {} \; \ No newline at end of file + run: find . -name "*.log" -exec ./scripts/cat-log.sh {} \;