-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add PR workflow for checking dependencies
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Check | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
check: | ||
uses: wetransform/gha-workflows/.github/workflows/gradle-library.yml@master | ||
with: | ||
gradle-tasks: '' | ||
java-version: 17 | ||
notify-failure: false | ||
skip-build: true # only do scan, build takes long and often failing | ||
expect-tests: false | ||
submodules: 'recursive' | ||
|
||
# work around issue with new Zip validation in recent Java updates | ||
# for info see https://github.com/iBotPeaches/Apktool/issues/3174 | ||
java-options: '-Djdk.util.zip.disableZip64ExtraFieldValidation=true' | ||
|
||
# rename lockfile so trivy picks it up | ||
pre-build-command: mv gradle/dependency-locks/platform.lockfile gradle/dependency-locks/platform-gradle.lockfile | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters