Cache does not seem to work for github-actions/setup-all, anchor-cli-Linux-v0003-0.31.1 cache key · Issue #6 · solana-developers/github-actions · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first run the run-tests takes 3 mins and 8 secs
In the second and third run it takes 55 seconds
So it looks like caching works there.
The setup-all step keeps taking around 7 minutes and 40 seconds, even though there are cache key messages there
e.g. in the first run
Cache not found for input keys: solana-Linux-v0001-2.1.0
Cache key being used: solana-Linux-v0001-2.1.0
and in the second run
Cache hit for: solana-Linux-v0001-2.1.0
Cache restored successfully
Cache restored from key: solana-Linux-v0001-2.1.0
and
Cache key being used: anchor-cli-Linux-v0003-0.31.1
Cache not found for input keys: anchor-cli-Linux-v0003-0.31.1
After that the second run starts to build anchor and that takes a lot of time.
So somehow there is no cache in the second run for the key anchor-cli-Linux-v0003-0.31.1,
while for Solana-Linux-v0001-2.1.0 the cache is there.
Because anchor-cli-Linux-v0003-0.31.1 is not there it is still slow,
because it looks like anchor-cli installation takes a long time.
The text was updated successfully, but these errors were encountered:
borisnieuwenhuis
changed the title
Cache does not seem to work for github-actions/setup-all
Cache does not seem to work for github-actions/setup-all, anchor-cli-Linux-v0003-0.31.1 cache key
Apr 29, 2025
I do 3 runs with the test workflow
In the first run the run-tests takes 3 mins and 8 secs
In the second and third run it takes 55 seconds
So it looks like caching works there.
The setup-all step keeps taking around 7 minutes and 40 seconds, even though there are cache key messages there
e.g. in the first run
and in the second run
and
After that the second run starts to build anchor and that takes a lot of time.
So somehow there is no cache in the second run for the key anchor-cli-Linux-v0003-0.31.1,
while for Solana-Linux-v0001-2.1.0 the cache is there.
Because anchor-cli-Linux-v0003-0.31.1 is not there it is still slow,
because it looks like anchor-cli installation takes a long time.
The text was updated successfully, but these errors were encountered: