GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add cache-restore-only input by dsame · Pull Request #400 · actions/setup-go

Conversation

@dsame

@dsame dsame commented Jul 25, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Description:

The use-cases are:

  • hitting storage with few huge caches
  • running build/test workflows in the parallel Add option to restore cache only #316 (comment)

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
@dsame
dsame requested a review from a team as a code owner July 25, 2023 18:07
@dsame
dsame force-pushed the restore-cache-only branch from b90ed1b to 5525a13 Compare July 26, 2023 06:58
@dsame dsame linked an issue Jul 26, 2023 that may be closed by this pull request
Add option to restore cache only #316
Open
@dsame
dsame force-pushed the restore-cache-only branch from 5525a13 to 0f07568 Compare July 26, 2023 07:17
@dsame
cache-restore-only
28cfea2
@dsame
dsame force-pushed the restore-cache-only branch from 0f07568 to 28cfea2 Compare July 26, 2023 07:25
@freeformz

freeformz commented Aug 4, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gregwebs

gregwebs commented Sep 28, 2023

Copy link
Copy Markdown

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@devnev

devnev commented Aug 28, 2024

Copy link
Copy Markdown

This would be great to get merged. @HarithaVattikuti ?

freeformz, bconway, and dcarr45 reacted with thumbs up emoji
All reactions
  • 👍 3 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bconway

bconway commented Jan 31, 2025

Copy link
Copy Markdown

This would be a great (and simple) addition.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

5 participants

@dsame @freeformz @gregwebs @devnev @bconway
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.