Skip to content

Make better use of IHasPreferredStatusCode #1688

Make better use of IHasPreferredStatusCode

Make better use of IHasPreferredStatusCode #1688

Workflow file for this run

# 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@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
source-url: https://nuget.pkg.github.com/graphql-dotnet/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
queries: security-and-quality
languages: csharp
- name: Install dependencies
run: dotnet restore
- name: Build solution
run: dotnet build --no-restore
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3