Use CodeQL in GitHub Actions
This commit is contained in:
parent
8438a30d19
commit
22ede5f4d9
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -53,3 +53,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: cargo fmt --all --check
|
- run: cargo fmt --all --check
|
||||||
|
|
||||||
|
codeql:
|
||||||
|
name: CodeQL
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
security-events: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: github/codeql-action/init@v2
|
||||||
|
with:
|
||||||
|
languages: javascript
|
||||||
|
- uses: github/codeql-action/analyze@v2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user