Update golangci-lint to v1.44

This commit is contained in:
Daniel 2022-02-01 13:16:53 +01:00
parent dba4ba3dc7
commit fcb5ca2473
2 changed files with 3 additions and 3 deletions
.github/workflows
test

View file

@ -37,7 +37,7 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
version: v1.44
only-new-issues: true
args: -c ./.golangci.yml
skip-go-installation: true

4
test
View file

@ -107,8 +107,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.29.0"
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.29.0
echo "$ curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.44.0"
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.44.0
exit 0
fi