GeezerVison is showing github.com — Add cache-restore-only input by dsame · Pull Request #400 · actions/setup-go
Conversation
dsame
commented
Jul 25, 2023
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Description:
The use-cases are:
The suggested workaround does not really work because it requires the users to re-engineer and reconstruct the automatically created cache key
To avoid it i introduced new input cache-restore-only that makes build to skip caching without making user to deal with cache key
Related issue:
link to the related issue.
Check list:
- Mark if documentation changes are required.
- Mark if tests were added or updated to cover the changes.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
freeformz, gregwebs, devnev, fnetX, blampe, antoinedeschenes, dcarr45, and alexaandru reacted with thumbs up emoji
pierre-fastly, fnetX, bconway, and alexaandru reacted with hooray emoji
All reactions
-
👍
8 reactions
-
🎉
4 reactions
freeformz
commented
Aug 4, 2023
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Yes please. I understand the arguments against, but respectfully disagree - it's a pita to have to reverse engineer the key setup and copy it into a ton of different repo workflows. And then there is the possibility of future changes. I'd like the setup-go action to "just handle all of that". i.e. I think the complexity should be shifted away from users.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Can this PR get reviewed? A use case I have for this is to be able to speed up deployments. Currently waiting for the go cache cleanup to push at the end adds a noticeable delay and the deployment build is not going to produce a useful cache that doesn't already exist. I am looking to see if it is spending time caching unnecessary things and if there are settings for that, but would be nice to avoid altogether in this case.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This would be great to get merged. @HarithaVattikuti ?
|
freeformz, bconway, and dcarr45 reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This would be a great (and simple) addition.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This branch has not been deployed
No deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Add option to restore cache only
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|