🛠 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:
|
cmds:
|
||||||
- staticcheck ./...
|
- staticcheck ./...
|
||||||
|
|
||||||
analyze:
|
vuln:
|
||||||
|
desc: Check for vulnerabilities
|
||||||
|
sources:
|
||||||
|
- '**/*.go'
|
||||||
|
cmds:
|
||||||
|
- govulncheck ./...
|
||||||
|
|
||||||
|
lint:
|
||||||
desc: Do static analysis
|
desc: Do static analysis
|
||||||
deps:
|
deps:
|
||||||
- vet
|
- vet
|
||||||
- critic
|
- critic
|
||||||
- staticcheck
|
- staticcheck
|
||||||
|
- vuln
|
||||||
|
|
||||||
test:
|
test:
|
||||||
desc: Run unit tests
|
desc: Run unit tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue