diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c8c52e..b15e5ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,5 +16,6 @@ jobs: go-version-file: go.mod - run: go build ./... - run: go vet ./... - - run: test -z "$(gofmt -l .)" + # gofmt only our code — vendor/ is third-party and not ours to format. + - run: test -z "$(gofmt -l cmd internal)" - run: go test ./...