Merge branch 'master' of github.com:matrix-org/dendrite into anoa/safe_linting

* 'master' of github.com:matrix-org/dendrite:
  Pin golangci-lint version to non-broken one (#809)
This commit is contained in:
Andrew Morgan 2019-10-18 23:03:55 +02:00
commit 5fe390529b

View file

@ -27,7 +27,7 @@ echo "Installing golangci-lint..."
# TODO: Once go 1.13 is out, use go get's -mod=readonly option # TODO: Once go 1.13 is out, use go get's -mod=readonly option
# https://github.com/golang/go/issues/30667 # https://github.com/golang/go/issues/30667
cp go.mod go.mod.bak && cp go.sum go.sum.bak cp go.mod go.mod.bak && cp go.sum go.sum.bak
go get github.com/golangci/golangci-lint/cmd/golangci-lint go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.19.1
# Run linting # Run linting
echo "Looking for lint..." echo "Looking for lint..."