0.3.0
Features
Go stub package and test — #12 ⇄ #13 (⊶ 66658a1)
↠ To prevent golangci-lint
and the CI workflow test
job from failing a stub file for the tmplgo
package has been added along with a example test (tmplgo_test
package).
This also comes with the benefit of providing a simple starting point for users of this template repository.
Improvements
Optimize Go version matrix strategy for CI workflow — #16 ⇄ #17 (⊶ bda13d8)
↠ Before the CI workflow used a matrix strategy to run the lint-go
and test
jobs, but this has been improved to make the workflow run faster by avoiding unnecessary steps:
- The
lint-go
job has been changed to only run on the currently latest stable Go version1.15.x
only on Linux becausegolangci-lint
doesn't care about the Go version and OS it runs on but only statically checks the source code. - The
test
job has been changed to only run on the currently latest stable Go version1.15.x
.
These changes help to keep the required GitHub Action run minutes for the account of this repository as small as possible without wasting resources for unnecessary tasks.
Adapt CI workflow "on" run configurations from "tmpl" template repository — #18 ⇄ #19 (⊶ ec1539c)
↠ Before the CI workflow only used the push
configuration for the on
field. To improve the performance a more fine grained configuration is now used that has already been defined in the "tmpl" template repository:
- Only runs on pushes to the
main
branch. - Only runs on pushes for
v*
tags. - Always runs for pushes to PRs.
These changes help to keep the required GitHub Action run minutes for the account of this repository as small as possible without wasting resources for unnecessary runs.
Tasks
Adapt to "tmpl" template repository version 0.4.0 — #14 ⇄ #15 (⊶ 9d50ec0)
↠ Adapted to "tmpl" version 0.4.0 which includes a optimized OS version matrix strategy for Node based tasks in the CI workflow that helps to keep the required GitHub Action run minutes for the account of this repository as small as possible without wasting resources for unnecessary tasks.
The full changelog is available here