actions-marketplace-validations/Golang with cache
Setup requested Golang version with managed module and build caching.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 7, 2024
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/magnetikonline_action-golang-cache@70438cdca8992490bd968e4c28468183a530f5a8 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| go-version | Desired Golang version. | — | — |
| go-version-file | Path to go.mod file, will determine Golang version. Use in place of `go-version` input. | — | — |
| cache-key-suffix | Optional cache key suffix. | — | — |
Outputs
| name | description |
|---|---|
| build-cache-path | Golang build cache path. |
| module-cache-path | Golang module cache path. |
| cache-key | Cache key holding Golang build and module cache paths. |