magnetikonline/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: magnetikonline/action-golang-cache@fcca93e25c7fe3943de4d40c22d255d17f63e63b # v5tags 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. |