Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gradle/wrapper-validation-action
Gradle Wrapper Validation Action
https://github.com/gradle/wrapper-validation-action
github-action gradle gradle-bt gradle-bt-core-runtime gradle-wrapper security
Last synced: about 7 hours ago
JSON representation
Gradle Wrapper Validation Action
- Host: GitHub
- URL: https://github.com/gradle/wrapper-validation-action
- Owner: gradle
- License: mit
- Created: 2020-01-05T11:04:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T14:23:57.000Z (5 months ago)
- Last Synced: 2025-01-30T19:55:54.612Z (7 days ago)
- Topics: github-action, gradle, gradle-bt, gradle-bt-core-runtime, gradle-wrapper, security
- Homepage: https://github.com/marketplace/actions/gradle-wrapper-validation
- Size: 12.9 MB
- Stars: 266
- Watchers: 36
- Forks: 58
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> [!IMPORTANT]
> As of `v3` this action has been superceded by `gradle/actions/wrapper-validation`.
> Any workflow that uses `gradle/wrapper-validation-action@v3` will transparently delegate to `gradle/actions/wrapper-validation@v3`.
>
> Users are encouraged to update their workflows, replacing:
> ```
> uses: gradle/wrapper-validation-action@v3
> ```
>
> with
> ```
> uses: gradle/actions/wrapper-validation@v3
> ```
>
> See the [wrapper-validation documentation](https://github.com/gradle/actions/tree/main/wrapper-validation) for up-to-date documentation for `gradle/actions/wrapper-validation`.# Gradle Wrapper Validation Action
This action validates the checksums of _all_ [Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html) 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`.
### Example workflow
```yaml
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](https://github.com/gradle/actions/tree/main/wrapper-validation) for more details.