Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ jobs:
# No need to download cached dependencies when running gofmt.
cache: false

- name: Run gofmt
- name: Install goimports
run: |
# -l: list files that were reformatted
# -w: write back formatted files to disk
gofmt -l -w ./
go install golang.org/x/tools/cmd/goimports@latest

- name: Run make fmt
run: |
make fmt

- name: Run go mod tidy
run: |
Expand Down