Update the gradle wrapper validation script to fix GitHub Actions. (#281)

- `gradle/wrapper-validation-action@v2` moved to `gradle/actions/wrapper-validation@v4`
This commit is contained in:
gniftygnome
2025-06-20 22:43:47 -07:00
committed by GitHub
parent 97a64410d2
commit d14f7c3e2f
3 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ jobs:
java-version: 21 java-version: 21
distribution: 'temurin' distribution: 'temurin'
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2 - uses: gradle/actions/wrapper-validation@v4
# Generate the build number based on tags to allow per branch build numbers, not something github provides by default. # Generate the build number based on tags to allow per branch build numbers, not something github provides by default.
- name: Generate build number - name: Generate build number

View File

@@ -30,7 +30,7 @@ jobs:
java-version: 21 java-version: 21
distribution: 'temurin' distribution: 'temurin'
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2 - uses: gradle/actions/wrapper-validation@v4
- name: Upload to Maven - name: Upload to Maven
run: ./gradlew publish --stacktrace run: ./gradlew publish --stacktrace
env: env:

View File

@@ -15,7 +15,7 @@ jobs:
java-version: 21 java-version: 21
distribution: 'temurin' distribution: 'temurin'
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2 - uses: gradle/actions/wrapper-validation@v4
- run: ./gradlew build check -x test --stacktrace --warning-mode fail - run: ./gradlew build check -x test --stacktrace --warning-mode fail
- uses: Juuxel/publish-checkstyle-report@v1 - uses: Juuxel/publish-checkstyle-report@v1
if: ${{ failure() }} if: ${{ failure() }}
@@ -32,7 +32,7 @@ jobs:
with: with:
java-version: 21 java-version: 21
distribution: 'temurin' distribution: 'temurin'
- uses: gradle/wrapper-validation-action@v2 - uses: gradle/actions/wrapper-validation@v4
- run: ./gradlew build check -x test --stacktrace --warning-mode fail - run: ./gradlew build check -x test --stacktrace --warning-mode fail
# This job is used to feed the test matrix of next job to allow the tests to run in parallel # This job is used to feed the test matrix of next job to allow the tests to run in parallel