Gradle Wrapper Validation Action
See the code[!IMPORTANT] As of
v3this action has been superceded bygradle/actions/wrapper-validation. Any workflow that usesgradle/wrapper-validation-action@v3will transparently delegate togradle/actions/wrapper-validation@v3.Users are encouraged to update their workflows, replacing:
uses: gradle/wrapper-validation-action@v3with
uses: gradle/actions/wrapper-validation@v3See the wrapper-validation documentation for up-to-date documentation for
gradle/actions/wrapper-validation.
This action validates the checksums of all Gradle Wrapper JAR files present in the repository and fails if any unknown Gradle Wrapper JAR files are found.
The action should be run in the root of the repository, as it will recursively search for any files named gradle-wrapper.jar.
name: "Validate Gradle Wrapper"
on: [push, pull_request]
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3
As of v3, the gradle/wrapper-validation-action action delegates to gradle/actions/wrapper-validation with the same version.
Configuration and usage of these actions is identical for releases with the same version number.
See the full wrapper-validation documentation for more details.
Gradle Wrapper Validation Action
See the code[!IMPORTANT] As of
v3this action has been superceded bygradle/actions/wrapper-validation. Any workflow that usesgradle/wrapper-validation-action@v3will transparently delegate togradle/actions/wrapper-validation@v3.Users are encouraged to update their workflows, replacing:
uses: gradle/wrapper-validation-action@v3with
uses: gradle/actions/wrapper-validation@v3See the wrapper-validation documentation for up-to-date documentation for
gradle/actions/wrapper-validation.
This action validates the checksums of all Gradle Wrapper JAR files present in the repository and fails if any unknown Gradle Wrapper JAR files are found.
The action should be run in the root of the repository, as it will recursively search for any files named gradle-wrapper.jar.
name: "Validate Gradle Wrapper"
on: [push, pull_request]
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3
As of v3, the gradle/wrapper-validation-action action delegates to gradle/actions/wrapper-validation with the same version.
Configuration and usage of these actions is identical for releases with the same version number.
See the full wrapper-validation documentation for more details.