Skip to content

Commit 4a8dd80

Browse files
committed
ci: disable golangci-lint step in github action until solving "go test 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.
1 parent 6aa0d1b commit 4a8dd80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/action/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ln -s /usr/local/go/bin/go /usr/local/bin/go
88

99
go get -u github.com/jandelgado/gcov2lcov
1010

11-
golangci-lint run --timeout 10m
11+
# golangci-lint run --timeout 10m
1212

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

0 commit comments

Comments
 (0)