From f1d0ce30e710cb89d7176615774a01171868c665 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Tue, 12 Nov 2024 08:29:36 -0800 Subject: [PATCH] Bump versions of GitHub Actions --- .../workflows/gradle-wrapper-validation.yml | 4 +-- .github/workflows/testing.yml | 32 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index c5b6805a..a3b91d12 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -7,6 +7,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v2 - - uses: gradle/wrapper-validation-action@v1 + - uses: actions/checkout@v4 + - uses: gradle/actions/wrapper-validation@v3 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 8d14fdb1..3a3f01f8 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -14,15 +14,15 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: '11' distribution: 'temurin' - - uses: gradle/gradle-build-action@v2 - with: - arguments: clean assemble --stacktrace - + - uses: gradle/actions/setup-gradle@v3 + - name: Gradle Assemble + run: ./gradlew clean assemble --stacktrace + test: needs: build strategy: @@ -32,28 +32,28 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: '11' distribution: 'temurin' - - uses: gradle/gradle-build-action@v2 - with: - arguments: test --tests ${{ matrix.tests }} --stacktrace + - uses: gradle/actions/setup-gradle@v3 + - name: Gradle Test + run: ./gradlew test --tests ${{ matrix.tests }} --stacktrace codenarc: needs: build runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: '11' distribution: 'temurin' - - uses: gradle/gradle-build-action@v2 - with: - arguments: codenarcMain codenarcTest --continue + - uses: gradle/actions/setup-gradle@v3 + - name: Gradle Codenarc + run: ./gradlew codenarcMain codenarcTest --continue - name: echo codenarcMain reports if: failure() run: test -f build/reports/codenarc/main.txt && cat build/reports/codenarc/main.txt