mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 07:04:02 +03:00
Check for vulnerabilities
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[tools]
|
||||
"go:golang.org/x/pkgsite/cmd/pkgsite" = "latest"
|
||||
"go:golang.org/x/tools/gopls" = "latest"
|
||||
"go:golang.org/x/vuln/cmd/govulncheck" = "latest"
|
||||
"go:mvdan.cc/gofumpt" = "latest"
|
||||
go = "latest"
|
||||
golangci-lint = "latest"
|
||||
@@ -26,6 +27,10 @@ run = [
|
||||
description = "Run linter"
|
||||
run = "golangci-lint run"
|
||||
|
||||
[tasks.vuln]
|
||||
description = "Test for vulnerabilities"
|
||||
run = "govulncheck ./..."
|
||||
|
||||
[tasks.test]
|
||||
description = "Run tests"
|
||||
run = "go test -v ./..."
|
||||
|
||||
Reference in New Issue
Block a user