Some hygiene for the pipelines which also addresses previous warnings that the actions were giving us.
In Summary:
The lint job had the wrong step order of checkout vs. go code setup, which caused the setup to not utilize its dependency cache, because that requires the go.sum file and the checkout step has obviously not happened yet.
Speaking of cache, the modules are cached by default since v4.
Pin the version of goreleaser to the current major version, for obvious reasons.
golangci-lint-action was fairly outdated and was still using Node.js 16
Description
Some hygiene for the pipelines which also addresses previous warnings that the actions were giving us.
In Summary:
go.sum
file and the checkout step has obviously not happened yet.v4
.golangci-lint-action
was fairly outdated and was still using Node.js 16