ci: add PR workflow for checking dependencies #8
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
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 |