From 0ac764324dbf3cf3141d2e08ce6a0a22db7f9400 Mon Sep 17 00:00:00 2001 From: GChuf Date: Fri, 1 Jul 2022 20:02:06 +0100 Subject: [PATCH] NO-JIRA: Update github actions Updates OS from Ubuntu 18 to Ubuntu 20 Updates github actions cache, checkout and setup-java to v3 --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa3ea284ec..40b35843f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,18 +5,18 @@ on: [push, pull_request, workflow_dispatch] jobs: test: name: Test (${{ matrix.java }}) - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: java: [ 11, 17 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Cache Maven Local Repo if: ${{ !startsWith(github.ref, 'refs/tags/') }} - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.m2/repository/ @@ -25,7 +25,7 @@ jobs: ${{ runner.os }}-mvn- - name: Install JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} distribution: 'temurin' @@ -44,18 +44,18 @@ jobs: checks: name: Checks (${{ matrix.java }}) - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: java: [ 11, 17 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Cache Maven Local Repo if: ${{ !startsWith(github.ref, 'refs/tags/') }} - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.m2/repository/ @@ -64,7 +64,7 @@ jobs: ${{ runner.os }}-mvn- - name: Install JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} distribution: 'temurin'