From 8837f8cbc84ca9a6c6bf253c4fe3498af2a0a932 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 25 Sep 2024 18:01:57 +0100 Subject: [PATCH] [MINOR] upgrade GitHub actions because old versions no longer work reliably --- .github/workflows/build.yml | 6 +++--- .github/workflows/dependency_check.yml | 8 ++++---- .github/workflows/license_check.yml | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae1d9cf..3822e73 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,12 +24,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '8' - distribution: 'adopt' + distribution: 'temurin' - name: Build with Maven run: mvn install diff --git a/.github/workflows/dependency_check.yml b/.github/workflows/dependency_check.yml index fca9322..d282660 100644 --- a/.github/workflows/dependency_check.yml +++ b/.github/workflows/dependency_check.yml @@ -24,16 +24,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '8' - distribution: 'adopt' + distribution: 'temurin' - name: Dependency check with Maven run: mvn dependency-check:aggregate - name: Upload the report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: dependency-check-report path: "**/target/dependency-check-report.html" diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index 7cf5734..9e440ab 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -24,16 +24,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '8' - distribution: 'adopt' + distribution: 'temurin' - name: License check with Maven run: mvn apache-rat:check - name: Upload the report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: license-check-report path: "**/target/rat.txt"