diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 66c44b3..545546f 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -6,16 +6,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' - name: Validate gradlew integrity - uses: gradle/wrapper-validation-action@v1 + uses: gradle/actions/wrapper-validation@v3 - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -23,7 +23,7 @@ jobs: - name: Build with Gradle run: ./gradlew pmdMain spotlessJavaCheck build - name: PMD report - uses: jwgmeligmeyling/pmd-github-action@v1 + uses: jwgmeligmeyling/pmd-github-action@v2 if: failure() with: path: '**/reports/pmd/main.xml'