Skip to content

Commit

Permalink
Revert goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatgoel committed Dec 23, 2023
1 parent 960ab90 commit b0b116b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
go-version-file: 'go.mod'

- name: Go Format
run: go install golang.org/x/tools/cmd/goimports@latest && goimports -w . && git diff --exit-code
run: gofmt -w . && git diff --exit-code

- name: Go Vet
run: go vet ./...
Expand Down
2 changes: 0 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
setup:
brew install go bufbuild/buf/buf golangci-lint sqlc goreleaser/tap/goreleaser fd
go install golang.org/x/tools/cmd/goimports@latest

gen:
buf generate proto
fd sqlc.yaml . | xargs sqlc generate -f
goimports -w .

lint: gen
buf lint proto
Expand Down

0 comments on commit b0b116b

Please sign in to comment.