CI: Run gofmt on Linting action (#110159)
* CI: Run gofmt on Linting action * Chore: Run gofmt on all packages
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user