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 to tmpl-go template repository version 0.9.0 #104

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

Update to tmpl-go template repository version 0.9.0 #104

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

Comments

@svengreb
Copy link
Owner

svengreb commented Nov 20, 2021

Update to tmpl-go version 0.9.0 which…

  1. updated to golangci-lint version 1.43.0 — new linters are introduced and configurations of already supported ones are improved or added.
  2. updated the Go module to Go 1.17.
  3. optimized the GitHub action workflows for Go and Node — the ci workflow has been optimized by splitting it into new ci-go and ci-node workflows.
  4. updated to the tmpl template repository version 0.10.0.

See the full tmpl-go version 0.9.0 changelog for all details.

@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
Updated to `tmpl-go` version `0.9.0` [1] which...

1. updated to `golangci-lint` version `1.43.0` [2] - new linters are
   introduced and configurations of already supported ones are improved
   or added.
2. updated the Go module to Go `1.17` [3].
3. optimized the GitHub action workflows for Go and Node [4] - the `ci`
   workflow has been optimized by splitting it into new `ci-go` and
   `ci-node` workflows.
4. updated to the `tmpl` template repository version `0.10.0` [5].

See the full `tmpl-go` version `0.9.0` changelog [1] for all details.

[1]: https://github.com/svengreb/tmpl-go/releases/tag/v0.9.0
[2]: svengreb/tmpl-go#64
[3]: svengreb/tmpl-go#66
[4]: svengreb/tmpl-go#68
[5]: svengreb/tmpl-go#70

GH-104
svengreb added a commit that referenced this issue Nov 20, 2021
Updated to `tmpl-go` version `0.9.0` [1] which...

1. updated to `golangci-lint` version `1.43.0` [2] - new linters are
   introduced and configurations of already supported ones are improved
   or added.
2. updated the Go module to Go `1.17` [3].
3. optimized the GitHub action workflows for Go and Node [4] - the `ci`
   workflow has been optimized by splitting it into new `ci-go` and
   `ci-node` workflows.
4. updated to the `tmpl` template repository version `0.10.0` [5].

See the full `tmpl-go` version `0.9.0` changelog [1] for all details.

[1]: https://github.com/svengreb/tmpl-go/releases/tag/v0.9.0
[2]: svengreb/tmpl-go#64
[3]: svengreb/tmpl-go#66
[4]: svengreb/tmpl-go#68
[5]: svengreb/tmpl-go#70

Closes GH-104
@svengreb svengreb removed their assignment 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/[email protected]#GoModule
[2]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.0
[3]: https://pkg.go.dev/github.com/svengreb/[email protected]/pkg/task/gofumpt
[4]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.0
[5]: https://pkg.go.dev/github.com/svengreb/[email protected]/pkg/task/gofumpt#WithSimplify
[6]: https://pkg.go.dev/github.com/svengreb/[email protected]/pkg/task/gofumpt
[7]: https://pkg.go.dev/golang.org/x/tools/cmd/goimports
[8]: https://pkg.go.dev/github.com/svengreb/[email protected]/pkg/task/goimports
[9]: https://pkg.go.dev/golang.org/x/[email protected]/cmd/goimports
[10]: https://github.com/golangci/golangci-lint/cmd/golangci-lint
[11]: https://pkg.go.dev/github.com/svengreb/[email protected]/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/[email protected]#GoModule
[2]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.0
[3]: https://pkg.go.dev/github.com/svengreb/[email protected]/pkg/task/gofumpt
[4]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.0
[5]: https://pkg.go.dev/github.com/svengreb/[email protected]/pkg/task/gofumpt#WithSimplify
[6]: https://pkg.go.dev/github.com/svengreb/[email protected]/pkg/task/gofumpt
[7]: https://pkg.go.dev/golang.org/x/tools/cmd/goimports
[8]: https://pkg.go.dev/github.com/svengreb/[email protected]/pkg/task/goimports
[9]: https://pkg.go.dev/golang.org/x/[email protected]/cmd/goimports
[10]: https://github.com/golangci/golangci-lint/cmd/golangci-lint
[11]: https://pkg.go.dev/github.com/svengreb/[email protected]/pkg/task/golangcilint
[12]: https://github.com/golangci/golangci-lint/releases/tag/v1.43.0
[13]: #104

Closes GH-106
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