Skip to content

Commit 2cf6d05

Browse files
committed
Enforce code format including tests
1 parent a8748fc commit 2cf6d05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
- name: Run tidy
2525
run: make tidy
2626

27+
- name: Run formatter
28+
run: |
29+
go install mvdan.cc/gofumpt@86bffd62437a3c437c0b84d5d5ab244824e762fc
30+
gofumpt -l -w .
31+
2732
- name: Fail if changes
2833
run: git diff-index --exit-code HEAD
2934

0 commit comments

Comments
 (0)