Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module golangci/golangci-lint to v1.18.0 #10054

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 10, 2019

This PR contains the following updates:

Package Type Update Change
github.com/golangci/golangci-lint require minor v1.17.1 -> v1.18.0

Release Notes

golangci/golangci-lint

v1.18.0

Compare Source

Changelog

bb82273 Add funlen linter (#​603)
91e90eb Add support for bash completions (#​640)
a8f2c27 Add user supplied error messages in depguard issues (#​662)
f84095a Build FreeBSD binaries (#​613)
e87a1cf Fix a false-positive from 'unused' (#​585)
338e3fb Fix install script on Windows (#​626)
0b49095 Make generation of demo.svg deterministic (#​625)
eabe43a Provide pre-built binary for ARM arch (#​607)
375a5a8 Speed up linting: use deduplicated packages (#​667)
6163a8a Support go1.13 (#​670)
e1a7422 Update gochecknoglobals to support version exception (#​601)
f8a5a8c Update depguard version to 1.0.0 (Performance improvements)
97fcafd Update format of junit xml output to mark failures as such (#​632)
22d1ef6 Update pkg/errors to v0.8.1.
4ed1349 add kubeedge (#​636)
d2b1eea bodyclose: fix race condition
f312a0f fix #​416: Add skip-dirs-use-default (#​630)
c5b0f95 fix cuncurrent [read/]write panic
cdeefb5 fix invalid dependencies (#​605)
e175825 fix possible race in line cache
7e170af fix: body close panic.
136b271 update bodyclose: use upstream version (#​666)
e39e8fb update x/tools

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.18.0
  • docker pull golangci/golangci-lint:v1.18

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot requested a review from a team September 10, 2019 09:36
@renovate renovate bot added the dependencies Used to indicate dependency changes. label Sep 10, 2019
@ghost ghost added the size/XS Managed by automation to categorize the size of a PR. label Sep 10, 2019
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from a136e4d to 4e5a2f3 Compare September 18, 2019 20:17
@ghost ghost added size/XXL Managed by automation to categorize the size of a PR. and removed size/XS Managed by automation to categorize the size of a PR. labels Sep 18, 2019
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch 24 times, most recently from 359356d to 7924baf Compare September 19, 2019 20:42
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch 20 times, most recently from c5df704 to c48dcb3 Compare September 23, 2019 15:40
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from c48dcb3 to 32e45e2 Compare September 23, 2019 16:44
bflad added a commit that referenced this pull request Sep 23, 2019
Reference: #9992
Reference: #10054

The main change here (and impetus because it seems to use too much memory in Go 1.12 for TravisCI to successfully pass linting) is upgrading github.com/golangci/golangci-lint to v1.18.0, which has fixes for Go 1.13 support in its listed dependencies. It was upgraded via:

```console
$ go get github.com/golangci/golangci-lint@v1.18.0
$ go mod tidy
$ go mod vendor
```

The addition of `go 1.13` to the `go.mod` file signals that this module should be built with that version of Go or later. Different than Go 1.12, any Go 1.13 command run against the module will always add that versioning information to the go.mod file. We add this once now to prevent unnecessary Git differences in the future. Development, testing, and building with Go 1.12 and earlier should not be affected as we are not introducing any breaking changes at the moment, but we do not officially support versions other than what is tested against via TravisCI.

As a simple verification of the above statement:

```console
$ go1.12 version
go version go1.12.9 darwin/amd64
$ go1.12 test ./...
?   	github.com/terraform-providers/terraform-provider-aws	[no test files]
ok  	github.com/terraform-providers/terraform-provider-aws/aws	1.313s
$ go1.12 build
$
```

Passes unit testing, linting, smoke acceptance testing, and release process cross-compilation testing.

```console
$ TF_ACC=1 go test ./aws -v -timeout 120m -parallel 20 -run='TestAccAWSProvider'
...
--- PASS: TestAccAWSProvider_Region_AwsCommercial (2.58s)
--- PASS: TestAccAWSProvider_Region_AwsGovCloudUs (2.59s)
--- PASS: TestAccAWSProvider_Region_AwsChina (2.60s)
--- PASS: TestAccAWSProvider_Endpoints_Deprecated (2.72s)
--- PASS: TestAccAWSProvider_Endpoints (2.80s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	3.846s
$ gox -os='linux darwin windows freebsd openbsd solaris' -arch='386 amd64 arm' -osarch='!darwin/arm !darwin/386' -ldflags '-s -w -X aws/version.ProviderVersion=99.99.99 -X aws/version.ProtocolVersion=4' -output 'results/{{.OS}}_{{.Arch}}/terraform-provider-aws_v99.99.99_x4' .
Number of parallel builds: 7

-->    darwin/amd64: github.com/terraform-providers/terraform-provider-aws
-->     linux/amd64: github.com/terraform-providers/terraform-provider-aws
-->   solaris/amd64: github.com/terraform-providers/terraform-provider-aws
-->       linux/arm: github.com/terraform-providers/terraform-provider-aws
-->   windows/amd64: github.com/terraform-providers/terraform-provider-aws
-->     freebsd/386: github.com/terraform-providers/terraform-provider-aws
-->     windows/386: github.com/terraform-providers/terraform-provider-aws
-->   freebsd/amd64: github.com/terraform-providers/terraform-provider-aws
-->     freebsd/arm: github.com/terraform-providers/terraform-provider-aws
-->     openbsd/386: github.com/terraform-providers/terraform-provider-aws
-->   openbsd/amd64: github.com/terraform-providers/terraform-provider-aws
-->       linux/386: github.com/terraform-providers/terraform-provider-aws
```
@bflad
Copy link
Contributor

bflad commented Sep 23, 2019

Superseded by #10206

@bflad bflad closed this Sep 23, 2019
@ghost
Copy link

ghost commented Nov 1, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 1, 2019
@breathingdust breathingdust added the linter Pertains to changes to or issues with the various linters. label Oct 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Used to indicate dependency changes. linter Pertains to changes to or issues with the various linters. size/XXL Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants