GODT-1645: add a make target for gobinsec check

This commit is contained in:
Romain LE JEUNE
2022-10-24 11:24:02 +02:00
committed by Romain Le Jeune
parent af5ce101ef
commit 31514c8e31
6 changed files with 33 additions and 17 deletions

View File

@ -254,6 +254,13 @@ lint-golang:
$(info linting with GOMAXPROCS=${GOMAXPROCS})
golangci-lint run ./...
gobinsec: gobinsec-cache.yml build
gobinsec -wait -cache -config utils/gobinsec_conf.yml ${EXE_TARGET}
gobinsec-cache.yml:
./utils/gobinsec_update.sh
cp ./utils/gobinsec_update/gobinsec-cache-valid.yml ./gobinsec-cache.yml
updates: install-go-mod-outdated
# Uncomment the "-ci" to fail the job if something can be updated.
go list -u -m -json all | go-mod-outdated -update -direct #-ci