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 #106

Closed
svengreb opened this issue Nov 20, 2021 · 0 comments · Fixed by #107
Closed

Upgrade default GoModule task versions #106

svengreb opened this issue Nov 20, 2021 · 0 comments · Fixed by #107

Comments

@svengreb
Copy link
Owner

Most of the GoModule tasks using an outdated default Go module version so the following tasks will be updated and adjusted to the currently latest versions:

  1. mvdan.cc/gofumpt — The github.com/svengreb/wand/pkg/task/gofumpt task currently uses version v0.1.1 and will be updated to version 0.2.0 by…
    1.1 removing the -r flag which has been removed in favor of gofmt -r.
    1.2 removing the -s flag (WithSimplify option) as it is always enabled.
  2. golang.org/x/tools/cmd/goimports — The github.com/svengreb/wand/pkg/task/goimports task currently uses version v0.1.0 and will be updated to version 0.1.7.
  3. github.com/golangci/golangci-lint/cmd/golangci-lint — The github.com/svengreb/wand/pkg/task/golangcilint task currently uses version v1.39.0 and will be updated to version 1.43.0. The configuration has already been updated in Update to tmpl-go template repository version 0.9.0 #104.
@svengreb svengreb added this to the Next milestone Nov 20, 2021
@svengreb svengreb self-assigned this Nov 20, 2021
svengreb added a commit that referenced this issue Nov 20, 2021
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 added a commit that referenced this issue Nov 20, 2021
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

Closes GH-106
@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 a pull request may close this issue.

1 participant