mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-19 05:19:12 +00:00
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
12 lines
339 B
YAML
12 lines
339 B
YAML
name: build
|
|
on: [pull_request, push]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
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
|