Skip to content

Commit

Permalink
remove check-fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-swinkler committed Oct 25, 2023
1 parent 51f8f45 commit 1ef7435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docs-and-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
go-version-file: ./go.mod
cache: false
- run: make docs-check
- run: make fmt-check
- run: if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then exit 1; fi
name: check gofmt
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ docs-check: docs ## check that docs have been generated
fmt: terraform-fmt ## Run terraform fmt and gofumpt
gofumpt -l -w .

fmt-check: fmt ## check that terraform fmt and gofumt have been run
git diff --exit-code -- .

terraform-fmt: ## Run terraform fmt
terraform fmt -recursive ./examples/
terraform fmt -recursive ./pkg/resources/testdata/
Expand Down

0 comments on commit 1ef7435

Please sign in to comment.