fix: golangci-lint and gosec warnings
This commit is contained in:
12
Makefile
12
Makefile
@ -103,6 +103,18 @@ PHONY+=test/coverage
|
||||
test/coverage: test/unit
|
||||
go tool cover -html=coverage.txt
|
||||
|
||||
# GOLANGCI-LINT
|
||||
# ==============================================================================
|
||||
PHONY+=golangci-lint
|
||||
golangci-lint:
|
||||
golangci-lint run --concurrency=$(shell nproc)
|
||||
|
||||
# GOSEC
|
||||
# ==============================================================================
|
||||
PHONY+=gosec
|
||||
gosec:
|
||||
gosec $(shell pwd)/...
|
||||
|
||||
# PHONY
|
||||
# ==============================================================================
|
||||
# Declare the contents of the PHONY variable as phony. We keep that information
|
||||
|
Reference in New Issue
Block a user