Bump github/codeql-action from 3.26.10 to 3.27.0 #180
Workflow file for this run
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: CVE Scanning | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
dotnet-modules-scan: | |
name: dotnet-scan | |
runs-on: ubuntu-latest | |
continue-on-error: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Build project with dotnet | |
run: dotnet build --configuration Release | |
working-directory: 'src' | |
- name: List vulnerable libraries | |
run: dotnet list package --vulnerable --include-transitive | |
working-directory: 'src' | |
- name: Depcheck | |
uses: dependency-check/Dependency-Check_Action@3102a65fd5f36d0000297576acc56a475b0de98d | |
id: Depcheck | |
with: | |
project: '.' | |
path: '.' | |
format: 'HTML' | |
out: 'reports' | |
args: > | |
--suppression .cve/allow-list.xml | |
--failOnCVSS 7 | |
--enableRetired | |
- name: Upload Test results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: Depcheck report | |
path: ${{ github.workspace }}/reports |