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

Upgrade default GoModule task versions #107

Merged

Conversation

svengreb
Copy link
Owner

Resolves #106

Most of the `GoModule` tasks [1] were using outdated default Go module
versions so the following tasks have been updated and adjusted to the
currently latest versions:

1. "mvdan.cc/gofumpt" [2]
   The `github.com/svengreb/wand/pkg/task/gofumpt` task [3] used version
   `v0.1.1` and has been updated to version `0.2.0` [4] by...
     1.1 removing the `-r` flag which has been removed in favor of
         `gofmt -r`.
     1.2 removing the `-s` flag (`WithSimplify` option [5]) as it is
         always enabled.
2. "golang.org/x/tools/cmd/goimports [7]
   The `github.com/svengreb/wand/pkg/task/goimports` task [8] used
   version `v0.1.0` and has been updated to version `0.1.7` [9].
3. "github.com/golangci/golangci-lint/cmd/golangci-lint [10]
   The `github.com/svengreb/wand/pkg/task/golangcilint` task [11] used
   version `v1.39.0` and has been updated to version `1.43.0` [12].
   The configuration has already been updated in GH-104 [13].

[1]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task@v0.6.0#GoModule
[2]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.0
[3]: https://pkg.go.dev/github.com/svengreb/wand@v0.6.0/pkg/task/gofumpt
[4]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.0
[5]: https://pkg.go.dev/github.com/svengreb/wand@v0.6.0/pkg/task/gofumpt#WithSimplify
[6]: https://pkg.go.dev/github.com/svengreb/wand@v0.6.0/pkg/task/gofumpt
[7]: https://pkg.go.dev/golang.org/x/tools/cmd/goimports
[8]: https://pkg.go.dev/github.com/svengreb/wand@v0.6.0/pkg/task/goimports
[9]: https://pkg.go.dev/golang.org/x/tools@v0.1.7/cmd/goimports
[10]: https://github.com/golangci/golangci-lint/cmd/golangci-lint
[11]: https://pkg.go.dev/github.com/svengreb/wand@v0.6.0/pkg/task/golangcilint
[12]: https://github.com/golangci/golangci-lint/releases/tag/v1.43.0
[13]: #104

GH-106
@svengreb svengreb added this to the Next milestone Nov 20, 2021
@svengreb svengreb self-assigned this Nov 20, 2021
@svengreb svengreb merged commit cabd635 into main Nov 20, 2021
@svengreb svengreb deleted the improvement/gh-106-upgrade-default-gomodule-task-versions branch November 20, 2021 21:36
@svengreb svengreb removed their assignment Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade default GoModule task versions
1 participant