7e0abe3c7e
* add semgrep yml * add semgrep ci job * remove replication semgrep rule in oss * fix makefile * add semgrep to ci * upwind triple if in ui.go semgrep refactoring
15 lines
393 B
YAML
15 lines
393 B
YAML
---
|
|
executor: alpine
|
|
steps:
|
|
- setup-semgrep
|
|
- checkout
|
|
- attach_workspace:
|
|
at: .
|
|
- run:
|
|
name: Run Semgrep Rules
|
|
command: |
|
|
# Alpine images can't run the make file due to a bash requirement. Run
|
|
# semgrep explicitly here.
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
semgrep --error --include '*.go' --exclude 'vendor' -f tools/semgrep/ci .
|