Skip to content

Commit

Permalink
Add CodeQL config to include quality queries
Browse files Browse the repository at this point in the history
  • Loading branch information
albertospelta committed Jan 15, 2023
1 parent c5d0922 commit 92ffac0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: "CodeQL config"

queries:
- uses: security-and-quality
7 changes: 4 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,20 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
- name: CodeQL init
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml

# - name: Autobuild
# uses: github/codeql-action/autobuild@v2

- if: matrix.language == 'csharp'
name: Build CSharp
name: .NET build
run: dotnet build Minsk.Compiler.slnf

- name: Perform CodeQL Analysis
- name: CodeQL analyze
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"

0 comments on commit 92ffac0

Please sign in to comment.