Skip to content

Commit f1cce55

Browse files
committed
Enable CodeQL
1 parent 799880a commit f1cce55

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Diff for: .github/workflows/ci.yml

+27
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,30 @@ jobs:
6161
- run: relint --version
6262
- run: py.test --cov=.
6363
- uses: codecov/codecov-action@v3
64+
65+
analyze:
66+
name: CodeQL Analyze
67+
needs: [PyTest]
68+
runs-on: ubuntu-latest
69+
permissions:
70+
actions: read
71+
contents: read
72+
security-events: write
73+
strategy:
74+
fail-fast: false
75+
matrix:
76+
language: [ python ]
77+
steps:
78+
- name: Checkout
79+
uses: actions/checkout@v3
80+
- name: Initialize CodeQL
81+
uses: github/codeql-action/init@v2
82+
with:
83+
languages: ${{ matrix.language }}
84+
queries: +security-and-quality
85+
- name: Autobuild
86+
uses: github/codeql-action/autobuild@v2
87+
- name: Perform CodeQL Analysis
88+
uses: github/codeql-action/analyze@v2
89+
with:
90+
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)