Check for vulnerabilities

This commit is contained in:
9seconds
2026-02-24 14:21:16 +01:00
parent 45ce5c2f61
commit 5fe3fdd73c
3 changed files with 47 additions and 0 deletions
+5
View File
@@ -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 ./..."