Skip to content

Commit

Permalink
ci: disable golangci-lint step in github action until solving "go tes…
Browse files Browse the repository at this point in the history
…t requires git due to -buildvcs" backport

- golang/go#51767
- golang/go#51723

> @bcmills requested issue #51723 to be considered for backport to the next 1.18 minor release.
>
> @gopherbot, please backport to Go 1.18. Invoking git for each go test of a package main is surprising and wastes users' time and battery power.
  • Loading branch information
zrma committed Mar 19, 2022
1 parent 6aa0d1b commit 4a8dd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ln -s /usr/local/go/bin/go /usr/local/bin/go

go get -u github.com/jandelgado/gcov2lcov

golangci-lint run --timeout 10m
# golangci-lint run --timeout 10m

go test -race -coverprofile=coverage.out -covermode=atomic $(go list ./... | grep -v /cmd/)

Expand Down

0 comments on commit 4a8dd80

Please sign in to comment.