Skip to content

Commit 0f55d10

Browse files
committed
Enforce gofmt in GitHub Actions
1 parent 59c0101 commit 0f55d10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@ jobs:
3636
name: coverage
3737
path: .test/coverage**
3838
if-no-files-found: error
39+
- name: gofmt
40+
run: find -name '*.go' -type f -exec ./.go-env.sh gofmt -l -s -w '{}' +
3941
- run: git diff --exit-code
4042
# TODO download latest coverage artifacts from HEAD / PR target to emulate Codecov but without another flaky third-party service that's begging for write-access to all our repositories via a GitHub App? 👀

0 commit comments

Comments
 (0)