Is your feature request related to a problem? Please describe.
I'm trying to use act
to test workflows locally and avoid spamming commits when I'm developing a complex workflow. Unfortunately, it looks like act
doesn't support caching and fails whenever caching is included in a step.
Describe the solution you'd like
I would like to have a way to disable the cache in setup-r-dependencies
. Then, it would be possible for act
users to do:
- uses: r-lib/actions/setup-r-dependencies@v2 with: cache: ${{ !env.ACT }}
Describe alternatives you've considered
I can't think of any other good alternative. The only option would be to go way to the 'old' way of manually installing dependencies (with remotes) but it means losing all the benefit brought by setup-r-dependencies
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4