From f9dbb91c5a9e298e6b9312f1be8b74d3558641b0 Mon Sep 17 00:00:00 2001 From: Andrea Aime Date: Wed, 27 Sep 2023 10:10:02 +0200 Subject: [PATCH] Update basic github actions --- .github/workflows/backport.yml | 2 +- .github/workflows/integration.yml | 7 ++++--- .github/workflows/linux.yml | 21 ++++++++++++--------- .github/workflows/macos.yml | 7 ++++--- .github/workflows/windows.yml | 7 ++++--- 5 files changed, 25 insertions(+), 19 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 319380d4a0..f3a05ac498 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -7,7 +7,7 @@ on: jobs: backport: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 name: Backport steps: - name: Backport Bot diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 9d4152bc6e..a06e581b16 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -13,12 +13,13 @@ jobs: steps: - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 - - uses: actions/checkout@v1 + distribution: 'temurin' + - uses: actions/checkout@v4 - name: Maven repository caching - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.m2/repository key: gwc-integration-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 87b4d7ba80..0c8467403a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -9,13 +9,14 @@ jobs: openjdk11: runs-on: [ubuntu-20.04] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: 'temurin' - name: Maven repository caching - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.m2/repository key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -30,13 +31,14 @@ jobs: openjdk17: runs-on: [ubuntu-20.04] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 17 + distribution: 'temurin' - name: Maven repository caching - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.m2/repository key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -51,13 +53,14 @@ jobs: QA: runs-on: [ubuntu-20.04] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: 'temurin' - name: Maven repository caching - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.m2/repository key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 48f1352cb5..c487eb9111 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -8,13 +8,14 @@ jobs: runs-on: [macos-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: 'temurin' - name: Maven repository caching - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.m2/repository key: gs-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index fe62c9dd72..32872e6c17 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -8,13 +8,14 @@ jobs: runs-on: [windows-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: 'temurin' - name: Maven repository caching - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.m2/repository key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}