The PR add the following use case to example sections:
## Common use cases
### Restore-only caches
### Automatically detect cached paths
Motivation and Context
During the maintaining actions/setup-go we received feedback from users about real world use cases and requests
to extend the functionality of the built-in caching.
It is not desirable to bloat the setup action with the caching features, the users should be redirected to actions/cache
instead with a good explanation of how to achieve the requested functionality.
Description
The PR add the following use case to example sections:
Motivation and Context
During the maintaining actions/setup-go we received feedback from users about real world use cases and requests to extend the functionality of the built-in caching.
It is not desirable to bloat the setup action with the caching features, the users should be redirected to actions/cache instead with a good explanation of how to achieve the requested functionality.
Related isues: https://github.com/actions/setup-go/issues/316 https://github.com/actions/setup-go/issues/395
Checklist: