Skip to content

Commit

Permalink
fix: add gofmt command
Browse files Browse the repository at this point in the history
  • Loading branch information
poppoerika committed Jan 26, 2022
1 parent 9c94d89 commit da3316a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Lint PR"
name: "Lint/Format PR"
on:
pull_request:
branches: [main]
Expand All @@ -16,3 +16,5 @@ jobs:
with:
version: latest
only-new-issues: true
- name: Format
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi

0 comments on commit da3316a

Please sign in to comment.