Skip to content

Update dependency macos to v14 #445

Update dependency macos to v14

Update dependency macos to v14 #445

# This workflow will scan a .NET project
# For more information see: https://devblogs.microsoft.com/nuget/how-to-scan-nuget-packages-for-security-vulnerabilities/#dotnet-cli
name: CVE Scanning for .NET
on: [push, pull_request]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Scan
run: dotnet list package --vulnerable --include-transitive | tee vulnerable.out
- name: Parse result
run: test `grep -cm 1 'has the following vulnerable packages' vulnerable.out` = 0