]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - ci/run
ci/run: run golangci-lint
[safcm/safcm.git] / ci / run
diff --git a/ci/run b/ci/run
index 1b240a600b2b33f0d7b45924be6d6859320c13ae..f858a461d3559a40cd0599a2cf0f3fa4d711aafb 100755 (executable)
--- a/ci/run
+++ b/ci/run
@@ -20,6 +20,7 @@ export SAFCM_CI_RUN
 make $flags
 # shellcheck disable=SC2086
 make test $flags
+make lint
 
 # Strict umask
 umask 077
@@ -31,8 +32,10 @@ make $flags
 make test $flags
 
 # Additional static checks only run in CI
-go get honnef.co/go/tools/cmd/staticcheck
+go install honnef.co/go/tools/cmd/staticcheck@latest
 staticcheck ./...
+go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
+golangci-lint run
 
 test -z "$(git clean -nd)" # any untracked files left?
 make clean