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
Description:
While testing the caching of this action, I found that the actions/setup-go cache performs worse than the same cache created with the latest version of actions/cache. I believe this is due to the fact that the latest actions/cache now uses zstd instead of tgz as the default format.
I believe this is due to actions/setup-go pinning an older version of actions/cache:
Hello @pkwarren ! Thank you for sharing this!
We have released a new version of the action (v4.0.1) which includes new version of @actions/cache.
Feel free to contact us if you have any questions!
Description:
While testing the caching of this action, I found that the
actions/setup-go
cache performs worse than the same cache created with the latest version ofactions/cache
. I believe this is due to the fact that the latestactions/cache
now uses zstd instead of tgz as the default format.I believe this is due to actions/setup-go pinning an older version of actions/cache:
setup-go/package-lock.json
Lines 39 to 41 in dd84a95
For comparison:
setup-go (1m13s):
cache (39s):
Action version:
Specify the action version: v4
Platform:
Runner type:
Tools version:
1.20.3
Repro steps:
Create a workflow which both uses the default actions/setup-go cache and an actions/cache step which backup the same paths.
Expected behavior:
Performance should be equivalent for both.
Actual behavior:
Performance of actions/setup-go is much slower.
The text was updated successfully, but these errors were encountered: