Skip to content

Commit

Permalink
add gofumpt -l -w . to lint CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed Jul 23, 2024
1 parent c3520d7 commit 8e26463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
run: go install mvdan.cc/gofumpt@latest
- name: run gofumpt
run: |
gofumpt -l -w .
ERRORS=$(gofumpt -l . | wc -l)
if [[ "$ERRORS" != "0" ]]; then
echo "following files are not gofumpted:"
Expand Down

0 comments on commit 8e26463

Please sign in to comment.