mirror of
https://github.com/Luzifer/go-openssl.git
synced 2024-12-20 19:01:18 +00:00
24 lines
345 B
Makefile
24 lines
345 B
Makefile
|
default:
|
||
|
|
||
|
benchmark:
|
||
|
go test -bench=. ./...
|
||
|
|
||
|
lint:
|
||
|
golangci-lint run ./...
|
||
|
|
||
|
test:
|
||
|
go test -cover -v ./...
|
||
|
|
||
|
# -- Vulnerability scanning --
|
||
|
|
||
|
trivy:
|
||
|
trivy fs . \
|
||
|
--dependency-tree \
|
||
|
--exit-code 1 \
|
||
|
--format table \
|
||
|
--ignore-unfixed \
|
||
|
--quiet \
|
||
|
--scanners config,license,secret,vuln \
|
||
|
--severity HIGH,CRITICAL \
|
||
|
--skip-dirs docs
|