Update tooling

This commit is contained in:
Daniel 2021-02-01 16:59:35 +01:00
parent 54bc8d3775
commit 80588d5a53
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -2,4 +2,5 @@ portbase
apitest
misc
go.mod.*
vendor

2
go.mod
View file

@ -38,7 +38,7 @@ require (
require (
// The follow-up commit removes Windows support.
// TOOD: Check how we want to handle this in the future, possibly ingest
// TODO: Check how we want to handle this in the future, possibly ingest
// needed functionality into here.
github.com/google/renameio v0.1.1-0.20200217212219-353f81969824
)

4
test
View file

@ -123,8 +123,8 @@ if [[ $install -eq 1 ]]; then
echo "$ go get -u golang.org/x/lint/golint"
go get -u golang.org/x/lint/golint
# TODO: update golangci-lint version regularly
echo "$ curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0"
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0
echo "$ curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.29.0"
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.29.0
exit 0
fi