chore: add semgrep rules
parent
a1e66eeff5
commit
efcc55e308
|
@ -1,4 +1,4 @@
|
|||
name: Go
|
||||
name: golangci-lint
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
name: semgrep
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: semgrep
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: returntocorp/semgrep-action@v1
|
||||
with:
|
||||
config: >-
|
||||
p/golang
|
Loading…
Reference in New Issue