Skip to content

Commit

Permalink
chore: CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Telemaco019 committed Aug 5, 2024
1 parent 5faac25 commit f052347
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
OK?=\033[0;32m[Ok]\033[0m

##@ General
.PHONY: help
help: ## Display this help.
Expand All @@ -21,9 +23,8 @@ test: ## Run the tests

.PHONY: formatting
formatting:
@echo "Checking formatting"
terraform fmt -check
@echo "Formatting OK"
@echo "\033[0;33m[Checking formatting...]\033[0m"
@terraform fmt -check && echo "${OK}"

.PHONY: check
check: formatting test
Expand Down

0 comments on commit f052347

Please sign in to comment.