Skip to content

Bump xunit.runner.visualstudio from 2.5.7 to 2.8.0 (#86) #171

Bump xunit.runner.visualstudio from 2.5.7 to 2.8.0 (#86)

Bump xunit.runner.visualstudio from 2.5.7 to 2.8.0 (#86) #171

Workflow file for this run

name: code analysis
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['csharp']
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Restore dependencies
run: dotnet restore --verbosity normal
- name: Build
run: dotnet build --no-restore /p:UseSharedCompilation=false
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3