Bump xunit from 2.5.0 to 2.6.2 #247
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
# https://github.com/github/codeql | |
# https://github.com/github/codeql-action | |
name: CodeQL analysis | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master, develop] | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v3 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
queries: security-and-quality | |
languages: csharp | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build CodeQL solution | |
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-the-codeql-workflow#reduce-the-amount-of-code-being-analyzed-in-a-single-workflow | |
working-directory: codeql | |
run: dotnet build --no-restore -p:UseSharedCompilation=false | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |