0.7.0
Improvements
Update to tmpl-go
template repository version 0.9.0
— #104 ⇄ #105 (⊶ 9caf10f)
↠ Updated to tmpl-go
version 0.9.0
which…
- updated to
golangci-lint
version1.43.0
— new linters are introduced and configurations of already supported ones are improved or added. - updated the Go module to Go
1.17
. - optimized the GitHub action workflows for Go and Node — the
ci
workflow has been optimized by splitting it into newci-go
andci-node
workflows. - updated to the
tmpl
template repository version0.10.0
.
See the full tmpl-go
version 0.9.0
changelog for all details.
Upgrade default GoModule
task versions — #106 ⇄ #107 (⊶ cabd635)
↠ Most of the GoModule
tasks used an outdated default Go module version so the following tasks have been updated and adjusted to the currently latest versions:
- mvdan.cc/gofumpt — The
github.com/svengreb/wand/pkg/task/gofumpt
task used versionv0.1.1
and has been updated to version0.2.0
by…
1.1 removing the-r
flag which has been removed in favor ofgofmt -r
.
1.2 removing the-s
flag (WithSimplify
option) as it is always enabled. - golang.org/x/tools/cmd/goimports — The
github.com/svengreb/wand/pkg/task/goimports
task used versionv0.1.0
and has been updated to version0.1.7
. - github.com/golangci/golangci-lint/cmd/golangci-lint — The
github.com/svengreb/wand/pkg/task/golangcilint
task used versionv1.39.0
and has been updated to version1.43.0
. The configuration has already been updated in #104.
Update to tmpl-go
template repository version 0.10.0
— #110 ⇄ #111 (⊶ ee52f08)
↠ Updated to tmpl-go
version 0.10.0
which…
- disables
golangci-lint
's default excluded issues — this prevents that explicitly enabled rules are not ignored due to the default set of excluded issues. - caches Go dependencies and build outputs in
ci-go
workflow — this improves the workflow execution time.
See the full tmpl-go
version 0.10.0
changelog for all details.
Bug Fixes
Insufficient repository fetch-depth for action workflows — #108 ⇄ #109 (⊶ c39b2c4)
↠ The GitHub action workflows uses the actions/checkout
action to fetch the repository that triggered the workflow. However, by default only the history of the latest commit was fetched which resulted in errors when wand tried to extract repository metadata information like the amount of commits ahead of the latest commit. As an example this can be seen when running the bootstrap
command in the test
job of the ci-go
workflow which failed with an object not found
error because the history only contained a single commit.
To fix this problem action/checkout
provides an option to fetch all history for all tags and branches which is now used to prevent errors like this in the pipeline.
Tasks
Go module dependency & GitHub action version updates — #97, #98, #102, #103
↠ Bumped outdated Go module dependencies and GitHub actions to their latest versions:
- #97 (⊶ 03ab104)
github.com/fatih/color
from v1.10.0 to v1.11.0 - #98 (⊶ 7b2ac86)
github.com/fatih/color
from v1.11.0 to v1.12.0 - #102 (⊶ eecbc52)
github.com/fatih/color
from v1.12.0 to v1.13.0 - #103 (⊶ b8b906c)
actions/setup-node
from v2.1.5 to v2.4.1
The full changelog is available in the repository
Copyright © 2019-present Sven Greb