Add go fmt and go fix checks to lint
Adds go-fmt and go-fix Makefile targets that fail when gofmt or go fix suggest changes. Both are wired into the lint target and used in CI. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
2
.github/workflows/make.yaml
vendored
2
.github/workflows/make.yaml
vendored
@@ -153,6 +153,8 @@ jobs:
|
||||
name: "build-artifacts"
|
||||
- run: "chmod +x bin/probod"
|
||||
- run: "make generate"
|
||||
- run: "make go-fmt"
|
||||
- run: "make go-fix"
|
||||
- name: "Run go vet"
|
||||
run: "go vet ./..."
|
||||
- name: "Run golangci-lint"
|
||||
|
||||
Reference in New Issue
Block a user