fix: upgrade to graal-vm 21, kotlin 1.9.20-RC gradle 8.4 #94
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: Dependency Check | |
on: | |
push: | |
branches: | |
- main | |
- feature/* | |
paths: | |
- 'gradle/libs.versions.toml' | |
- 'settings.gradle.kts' | |
pull_request: | |
branches: | |
- '*' | |
paths: | |
- 'gradle/libs.versions.toml' | |
- 'settings.gradle.kts' | |
env: | |
CI: true | |
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true | |
jobs: | |
check: | |
# Skip build if head commit contains 'skip ci' | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
name: OWASP Dependency Check | |
timeout-minutes: 60 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: zulu | |
- name: check | |
uses: eskatos/gradle-command-action@v2 | |
env: | |
CI: true | |
with: | |
gradle-version: current | |
arguments: dependencyCheckAggregate | |
- name: Upload OWASP Dependencies scan results to GitHub Security tab | |
uses: github/codeql-action/upload-sarif@v2 | |
id: dependecyreport | |
with: | |
sarif_file: build/reports/dependency-check-report.sarif | |
category: OWASP-dependency-check |