From 27f426389a74a4ee82b49608073886a351a79e1e Mon Sep 17 00:00:00 2001 From: Nicolas Vollmar Date: Mon, 14 Oct 2024 09:21:09 +0200 Subject: [PATCH] Updates actions image --- .github/workflows/fullTest.yml | 13 +++++++++++-- .github/workflows/pullCi.yml | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/fullTest.yml b/.github/workflows/fullTest.yml index 6e9e24f..aa26490 100644 --- a/.github/workflows/fullTest.yml +++ b/.github/workflows/fullTest.yml @@ -5,16 +5,25 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: java: [ 11, 17, 21 ] steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v4 with: java-version: '${{ matrix.java }}' distribution: 'temurin' + + - name: Install sbt + uses: sbt/setup-sbt@v1 + + - name: Cache Coursier cache + uses: coursier/cache-action@v6 + - name: Run tests with Pekko 1.0.x and Scala 2.12,2.13,3.3 run: sbt +test +doc diff --git a/.github/workflows/pullCi.yml b/.github/workflows/pullCi.yml index 9cf71eb..7d4ceda 100644 --- a/.github/workflows/pullCi.yml +++ b/.github/workflows/pullCi.yml @@ -9,13 +9,22 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' + + - name: Install sbt + uses: sbt/setup-sbt@v1 + + - name: Cache Coursier cache + uses: coursier/cache-action@v6 + - name: Run tests with Scala 2.12,2.13,3.3 run: sbt +test