Merge pull request #20 from niscy-eudiw/main #22
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: SCA - Dependency Check | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
sca-dependency-check-gradle: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project sources | |
uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Build with Gradle Wrapper & Run Dependency-Check | |
uses: gradle/[email protected] | |
with: | |
gradle-version: wrapper | |
arguments: dependencyCheckAnalyze | |
- name: Upload results - SCA | |
uses: actions/upload-artifact@master | |
with: | |
name: Dependency Check Report | |
path: ${{github.workspace}}/build/reports/dependency-check-report.html |