chore(ci): add command to fmt testdata terraform files (#1042)

This commit is contained in:
Mauritz Uphoff 2025-11-06 18:01:44 +01:00 committed by GitHub
parent 4552b14edd
commit a81b7d49e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 46 additions and 46 deletions

View file

@ -14,8 +14,8 @@ lint-golangci-lint:
@$(SCRIPTS_BASE)/lint-golangci-lint.sh
lint-tf:
@echo "Linting examples"
@terraform fmt -check -diff -recursive examples
@echo "Linting terraform files"
@terraform fmt -check -diff -recursive
lint: lint-golangci-lint lint-tf
@ -30,7 +30,7 @@ build:
fmt:
@gofmt -s -w .
@go tool goimports -w .
@cd $(ROOT_DIR)/examples && terraform fmt -recursive && cd $(ROOT_DIR)
@terraform fmt -diff -recursive
# TEST
test: