Merge pull request #12 from niscy-eudiw/feature/update-code-cpverage-… #6
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: | |
branches: [ 'main', 'release/*', 'feature/*', 'fix/*', 'refactor/*' ] | |
tags: [ v* ] | |
workflow_dispatch: | |
jobs: | |
Dependency_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Depcheck Action - SCA | |
uses: dependency-check/Dependency-Check_Action@main | |
id: Depcheck | |
with: | |
project: '${{ github.repository }}' | |
path: '.' | |
format: 'HTML' | |
out: 'reports' # this is the default, no need to specify unless you wish to override it | |
args: > | |
--enableRetired | |
--enableExperimental | |
- name: Upload results - SCA | |
uses: actions/upload-artifact@master | |
with: | |
name: Depcheck report | |
path: ${{github.workspace}}/reports |