You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test, lint, and release workflows use the magnetikonline/action-golang-cache plug-in, however, the buildworkflow uses the and actions/setup-go and actions/cache plug-ins - both could be replaced by using just magnetikonline/action-golang-cache.
Instead of specifying go-version: '1.20', it could use go-version-file: go.mod to have it automatically select the Go version from go.mod
The
test
,lint
, andrelease
workflows use themagnetikonline/action-golang-cache
plug-in, however, thebuild
workflow uses the andactions/setup-go
andactions/cache
plug-ins - both could be replaced by using justmagnetikonline/action-golang-cache
.go-version: '1.20'
, it could usego-version-file: go.mod
to have it automatically select the Go version fromgo.mod
build.yml
usesactions/cache
just for caching/home/runner/go/bin
- we could also use it for$HOME/.cache/go-build
and$HOME/go/pkg/mod
- see https://github.com/actions/cache/blob/main/examples.md#go---modulesThe text was updated successfully, but these errors were encountered: