Skip to content

chore(deps): Bump xunit.runner.visualstudio from 3.1.4 to 3.1.5 #5

chore(deps): Bump xunit.runner.visualstudio from 3.1.4 to 3.1.5

chore(deps): Bump xunit.runner.visualstudio from 3.1.4 to 3.1.5 #5

Workflow file for this run

name: PR Validation
on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
validate:
name: Validate PR
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Restore dependencies
run: dotnet restore
- name: Check formatting
run: dotnet format --verify-no-changes --verbosity diagnostic
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal
- name: Check for vulnerable packages
run: |
dotnet list package --vulnerable --include-transitive 2>&1 | tee vulnerability-report.txt
if grep -q "has the following vulnerable packages" vulnerability-report.txt; then
echo "::error::Vulnerable packages detected!"
exit 1
fi