Skip to content

Commit

Permalink
Install goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffail committed Oct 24, 2024
1 parent 27449e6 commit 01886c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
run: make test

- name: Fmt
run: make fmt && test -z "$(git ls-files --others --modified --exclude-standard)" || { >&2 echo "Unformatted files detected. This can be fixed with 'make fmt'."; exit 1; }
run: |
go install golang.org/x/tools/cmd/goimports@latest
make fmt && test -z "$(git ls-files --others --modified --exclude-standard)" || { >&2 echo "Unformatted files detected. This can be fixed with 'make fmt'."; exit 1; }
golangci-lint:
if: ${{ github.repository == 'redpanda-data/connect' || github.event_name != 'schedule' }}
Expand Down

0 comments on commit 01886c6

Please sign in to comment.