🛠 Add vulnerability checkRename analyze check to lint
This commit is contained in:
parent
917f919401
commit
fe860fbc82
1 changed files with 9 additions and 1 deletions
10
Taskfile.yml
10
Taskfile.yml
|
|
@ -43,12 +43,20 @@ tasks:
|
|||
cmds:
|
||||
- staticcheck ./...
|
||||
|
||||
analyze:
|
||||
vuln:
|
||||
desc: Check for vulnerabilities
|
||||
sources:
|
||||
- '**/*.go'
|
||||
cmds:
|
||||
- govulncheck ./...
|
||||
|
||||
lint:
|
||||
desc: Do static analysis
|
||||
deps:
|
||||
- vet
|
||||
- critic
|
||||
- staticcheck
|
||||
- vuln
|
||||
|
||||
test:
|
||||
desc: Run unit tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue