-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cache and restore dumped accounts #104
cache and restore dumped accounts #104
Conversation
🦋 Changeset detectedLatest commit: 9c9056b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hey Sam! Thanks for raising this. It's strange because I thought this would be taken care of by the cache jobs inside the setup actions. create-solana-program/template/base/.github/actions/setup/action.yml.njk Lines 87 to 109 in b3f76ff
See how the I wonder if we need to replace that with It would be nicer if most cache related things could be tackled within the setup job so we can keep the workflows cleaner. |
Let me try updating my repo with |
Still get this error:
I think the setup environment caching happens before programs build so isn't capturing the downloaded accounts, right? |
Oh wait sorry I'm being stupid. This is because the As a little nit, I wonder if it would be cleaner to combine this with the previous step that save/restore the so files. We could call it like save/restore client artifacts or something. Wdyt? |
Yes, I think that makes sense! |
One thing to note is this also caches the local keypair which is also a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Current workflow does not seem to cache and restore dumped external accounts. I can add a changeset if this should be a patch bump.