ccao-data / actions

GitHub Actions for CCAO Data projects
0 stars 0 forks source link

Add R cache support for composite action #27

Closed wagnerlmichael closed 2 months ago

wagnerlmichael commented 2 months ago

This PR adds R cache support. Without this addition the pre-commit action for the model-res-avm repo fails, and I'm assuming R hooks in other repos would also have been problematic.

Example of failure prior to this change here Example of succesful run after the changes implemented in this PR here

I also tested what would happen if we included the R cache with another external repo that doesn't use R. It seems to have no impact, test run here.