Skip to content

Commit

Permalink
ghwf debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Feb 1, 2024
1 parent 24a39b7 commit 849321e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ jobs:
run: go install mvdan.cc/gofumpt@latest
- name: Check code formatting
run: |
gofumpt -l ./backend/
# unformatted_files=$(gofumpt -l ./backend/ 2>/dev/null | grep ".go$")
# if [ -n "$unformatted_files" ]; then
# echo "Files not formatted:"
# echo "$unformatted_files"
# exit 1
# fi
unformatted_files=$(gofumpt -l ./backend/)
if [ -n "$unformatted_files" ]; then
echo "Files not formatted:"
echo "$unformatted_files"
exit 1
fi
lint:
name: Lint
Expand Down

0 comments on commit 849321e

Please sign in to comment.