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>
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-16 17:15:43 +01:00
committed by Sacha Al Himdani
parent 8b66a61990
commit c74e5cc123
2 changed files with 20 additions and 1 deletions

View File

@@ -153,6 +153,7 @@ jobs:
name: "build-artifacts"
- run: "chmod +x bin/probod"
- run: "make generate"
- run: "make go-fmt go-fix"
- name: "Run go vet"
run: "go vet ./..."
- name: "Run golangci-lint"