chore: add semgrep rules

main
sudo pacman -Syu 2021-11-06 13:42:43 +07:00
parent a1e66eeff5
commit efcc55e308
2 changed files with 21 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Go name: golangci-lint
on: on:
push: push:

20
.github/workflows/semgrep.yaml vendored Normal file
View File

@ -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