actions-marketplace-validations/Golang with cache

Setup requested Golang version with managed module and build caching.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 7, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/magnetikonline_action-golang-cache@70438cdca8992490bd968e4c28468183a530f5a8 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
go-versionDesired Golang version.
go-version-filePath to go.mod file, will determine Golang version. Use in place of `go-version` input.
cache-key-suffixOptional cache key suffix.
namedescription
build-cache-pathGolang build cache path.
module-cache-pathGolang module cache path.
cache-keyCache key holding Golang build and module cache paths.