Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Uraneptus committed Sep 16, 2024
1 parent 90961d6 commit 95c45cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ 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
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle', '**/gradle-wrapper.properties') }}
- 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'
Expand Down

0 comments on commit 95c45cf

Please sign in to comment.