aleasims/Go Caching Tool

A GitHub Action that implements caching for Go projects.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
prefix-keyThe prefix cache key, this can be changed to start a new cache manually.nov0-go
shared-keyA cache key that is used instead of the automatic `job`-based key, and is stable over multiple jobs.no
keyAn additional cache key that is added alongside the automatic `job`-based cache key and can be used to further differentiate jobs.no
env-varsAdditional environment variables to include in the cache key, separated by spaces.no
modulesPaths to multiple Go modules, separated by newlines.no
cache-directoriesAdditional non workspace directories to be cached, separated by newlines.no
cache-on-failureCache even if the build fails. Defaults to false.no
save-ifDeterminers whether the cache should be saved. If `false`, the cache is only restored.notrue
cache-providerDetermines which provider to use for caching. Options are github, buildjet, or warpbuild. Defaults to github.nogithub
cache-binDetermines whether to cache $GOBIN.notrue
lookup-onlyCheck if a cache entry exists without downloading the cachenofalse
namedescription
cache-hitA boolean value that indicates an exact match was found.