ApeWorX / github-action

GitHub Actions CI File for Ape Projects
Apache License 2.0
6 stars 3 forks source link

Cache Everything #2

Closed fubuloubu closed 2 years ago

fubuloubu commented 2 years ago

Cache compiler binaries stored in ~/.vvm and ~/.solcx, also try to cache user's .build/ folder that contains their compiled contracts so it doesn't do it again between sessions/steps in workflow.

example: https://github.com/yearn/yearn-vaults/blob/main/.github/workflows/test.yaml

sabotagebeats commented 2 years ago

these should be moved into github-action

fubuloubu commented 2 years ago

these should be moved into github-action

Yes! My point is that when using this action (or perhaps even the docker container in general) it should be able to cache these folders quite easily (perhaps by letting you use them in the docker container), so you don't have to implement these features (which almost everyone will want) independently in each project that uses this action.

fubuloubu commented 2 years ago

solved by #4