mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-03 15:55:31 +00:00
ci: add DevSkim test to find oddities in the code
This commit is contained in:
parent
5626e52d7e
commit
d5a4f9ca2e
18
.github/workflows/rust.yml
vendored
18
.github/workflows/rust.yml
vendored
@ -96,3 +96,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tool: mdbook
|
tool: mdbook
|
||||||
- run: mdbook build book
|
- run: mdbook build book
|
||||||
|
|
||||||
|
DevSkim:
|
||||||
|
name: DevSkim
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run DevSkim scanner
|
||||||
|
uses: microsoft/DevSkim-Action@v1
|
||||||
|
|
||||||
|
- name: Upload DevSkim scan results to GitHub Security tab
|
||||||
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
|
with:
|
||||||
|
sarif_file: devskim-results.sarif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user