Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 (#341) #662
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, v8] | |
pull_request: | |
branches: [master, develop, v8] | |
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 | |
config-file: ./.github/codeql-config.yml | |
- name: Install dependencies | |
working-directory: src | |
run: dotnet restore | |
- name: Build only parser project | |
# 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: src/GraphQLParser | |
run: dotnet build --no-restore | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |