build(action): 添加用于验证 Gradle Wrapper 的 Action.

增加 Gradle Wrapper 验证过程有利于防范恶意 Pull Request 或恶意 Push, 增强构建安全性.
This commit is contained in:
LamGC 2022-06-22 01:22:18 +08:00 committed by GitHub
parent c64f5e739b
commit 32c07eae90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,10 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1