Commit 72e9d617 authored by Seth Hoenig's avatar Seth Hoenig
Browse files

build: use semgrep to prevent using @latest tags for go install steps

Tools should be pinned to a specific dependency when using `make bootstrap`
to Go install the tools we use to build Nomad. Using @latest tags means a
tool and what it produces could change out from under us.
parent 22bd0891
Branches unavailable
No related merge requests found
Showing with 12 additions and 0 deletions
+12 -0
rules:
# Check use of latest versions in bootstrap tools
- id: "go-install-latest-versions"
patterns:
- pattern-regex: "@latest$"
message: "Use specific version tag not latest"
languages:
- "generic"
severity: "WARN"
paths:
include:
- "GNUMakefile"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment