mirror of https://github.com/actions/setup-go.git
feat: add cache-write input for read-only cache mode
Add a 'cache-write' input (default: true) that controls whether the cache is saved at the end of the workflow. When set to 'false', the action will restore cached dependencies but skip saving, providing a read-only cache mode. This is useful for preventing cache poisoning attacks from untrusted PR builds while still benefiting from cached dependencies.pull/732/head
parent
27fdb267c1
commit
c948a2c163
Loading…
Reference in New Issue