Skip to content

Commit

Permalink
CI: Add step that validates the Gradle wrapper
Browse files Browse the repository at this point in the history
Validates the gradle-wrapper.jar file on each build, which is a binary blob of executable code. This action ensures it's legit and doesn't execute malicious code.

See https://github.com/gradle/wrapper-validation-action
  • Loading branch information
EwoutH committed May 4, 2021
1 parent fb58c87 commit e371485
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-app-workflow.yaml
Expand Up @@ -6,5 +6,7 @@ jobs:
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e2c57acffb2c9aa5a8dc6eda2bbae0b6e495bd4c
- name: Build the app
run: ./gradlew build

0 comments on commit e371485

Please sign in to comment.