CI: Run gofmt on Linting action (#110159)

* CI: Run gofmt on Linting action

* Chore: Run gofmt on all packages
This commit is contained in:
Matheus Macabu
2025-08-26 16:14:03 +02:00
committed by GitHub
parent d34338be02
commit 78ac555c4d
75 changed files with 169 additions and 73 deletions
+4
View File
@@ -384,6 +384,10 @@ lint-go-diff:
sed 's,^,./,' | \
$(XARGSR) $(golangci-lint) run --config .golangci.yml
.PHONY: gofmt
gofmt: ## Run gofmt for all Go files.
gofmt -s -w .
# with disabled SC1071 we are ignored some TCL,Expect `/usr/bin/env expect` scripts
.PHONY: shellcheck
shellcheck: $(SH_FILES) ## Run checks for shell scripts.