Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ sec: check-gosec # Check for security vulnerabilities

check-gosec:
@command -v gosec >/dev/null 2>&1 \
|| @go install github.com/securego/gosec/v2/cmd/gosec@latest
|| go install github.com/securego/gosec/v2/cmd/gosec@latest

unused: | check-staticcheck # Look for unused code
@echo "Unused code:"
Expand All @@ -72,11 +72,11 @@ static: | check-staticcheck check-exhaustive

check-staticcheck:
@command -v staticcheck >/dev/null 2>&1 \
|| @go install honnef.co/go/tools/cmd/staticcheck@latest
|| go install honnef.co/go/tools/cmd/staticcheck@latest

check-exhaustive:
@command -v exhaustive >/dev/null 2>&1 \
|| @go install github.com/nishanths/exhaustive/cmd/exhaustive@latest
|| go install github.com/nishanths/exhaustive/cmd/exhaustive@latest

generate: | check-oapi-codegen
go generate ./...
Expand Down
Loading