Skip to content

Commit 1ffac1e

Browse files
authored
Run go fmt on CI (#118)
* ensure go fmt has no output * fix go fmt line * fix go fmt stdout/stderr
1 parent 44c1ab9 commit 1ffac1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ jobs:
1414
go-version: 1.16 # please change also in `release.yml` and `go.mod`
1515
- name: Checkout code
1616
uses: actions/checkout@v2
17+
- name: Go fmt
18+
run: |
19+
! go fmt ./... | read
1720
- name: Go Test
1821
run: go test -v ./...

0 commit comments

Comments
 (0)