From a9171e35e0e3b94b6fd3aa999280cbe9f6c7d185 Mon Sep 17 00:00:00 2001 From: Tom Bamford Date: Fri, 8 Apr 2022 00:07:07 +0100 Subject: [PATCH] Dependencies: update golangci-lint 1.45.2 --- .github/workflows/depscheck.yml | 2 +- .github/workflows/docs-lint.yml | 2 +- .github/workflows/golint.yml | 4 ++-- .github/workflows/tflint.yml | 2 +- .github/workflows/thirty-two-bit.yml | 2 +- .github/workflows/unit-test.yml | 2 +- .go-version | 2 +- GNUmakefile | 2 +- go.mod | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/depscheck.yml b/.github/workflows/depscheck.yml index 4c40d16bb3..418d1564b0 100644 --- a/.github/workflows/depscheck.yml +++ b/.github/workflows/depscheck.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.17.6' + go-version: '1.18.0' - run: bash scripts/gogetcookie.sh - run: make tools - run: make depscheck diff --git a/.github/workflows/docs-lint.yml b/.github/workflows/docs-lint.yml index 1f9afb40aa..3fa4d64640 100644 --- a/.github/workflows/docs-lint.yml +++ b/.github/workflows/docs-lint.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.17.6' + go-version: '1.18.0' - run: bash scripts/gogetcookie.sh - run: make tools - run: make docs-lint diff --git a/.github/workflows/golint.yml b/.github/workflows/golint.yml index c66222c1dc..5cb68bb33b 100644 --- a/.github/workflows/golint.yml +++ b/.github/workflows/golint.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.17.6' + go-version: '1.17.8' - uses: golangci/golangci-lint-action@v2 with: - version: 'v1.44' + version: 'v1.45.2' diff --git a/.github/workflows/tflint.yml b/.github/workflows/tflint.yml index e375c5c959..4b4f953ad2 100644 --- a/.github/workflows/tflint.yml +++ b/.github/workflows/tflint.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.17.6' + go-version: '1.17.8' - run: bash scripts/gogetcookie.sh - run: make tools - run: make tflint diff --git a/.github/workflows/thirty-two-bit.yml b/.github/workflows/thirty-two-bit.yml index 34ee9c2f5a..a454e557a2 100644 --- a/.github/workflows/thirty-two-bit.yml +++ b/.github/workflows/thirty-two-bit.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.17.6' + go-version: '1.17.8' - run: bash scripts/gogetcookie.sh - run: make tools - run: GOARCH=386 GOOS=linux go build -o 32bitbuild . diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 7b24baa6f1..43e5fdfd63 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -17,6 +17,6 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.17.6' + go-version: '1.17.8' - run: bash scripts/gogetcookie.sh - run: make test diff --git a/.go-version b/.go-version index 622f042fdc..84cc529467 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.17.6 +1.18.0 diff --git a/GNUmakefile b/GNUmakefile index 397134ef2a..b7459ccab7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -17,7 +17,7 @@ tools: go install github.com/bflad/tfproviderdocs@latest go install github.com/katbyte/terrafmt@latest go install mvdan.cc/gofumpt@latest - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$$(go env GOPATH || $$GOPATH)"/bin v1.43.0 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$$(go env GOPATH || $$GOPATH)"/bin v1.45.2 build: fmtcheck go install diff --git a/go.mod b/go.mod index a83122c328..7454067ef9 100644 --- a/go.mod +++ b/go.mod @@ -76,4 +76,4 @@ require ( google.golang.org/protobuf v1.26.0 // indirect ) -go 1.17 +go 1.18