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 documentation for advanced Go use cases. by dsame · Pull Request #416 · actions/setup-go

Conversation

@dsame

@dsame dsame commented Aug 23, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Description:

  1. Add the following documentation sections
  • Multi-target builds
  • Invalidate cache if source code changes
  • Caching with actions/cache
  1. Replace '-' with '##' in order to have link anchors in the document

Related issues:
#316
#358
#395

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.

All reactions
@dsame dsame self-assigned this Aug 23, 2023
@dsame
dsame force-pushed the cache-samples branch from 9c34a9c to 013fabc Compare August 23, 2023 16:47
@dsame
dsame marked this pull request as ready for review August 23, 2023 16:48
@dsame
dsame requested a review from a team as a code owner August 23, 2023 16:48
@dsame
dsame force-pushed the cache-samples branch from 013fabc to 55c6055 Compare August 24, 2023 16:28
marko-zivic-93
marko-zivic-93 approved these changes Aug 25, 2023
View reviewed changes
@dsame
dsame force-pushed the cache-samples branch 2 times, most recently from 12ef78f to 1d90bbc Compare August 29, 2023 17:54
@dsame
Update README.md with more sample
3671db6
@dsame
dsame force-pushed the cache-samples branch from 2f50380 to 3671db6 Compare August 30, 2023 13:53
dsame added 5 commits August 30, 2023 15:57
@dsame
Add nesting
57dc459
@dsame
Fix glob pattern use
1ac9d65
@dsame
remove a sample with text file
ff99eca
@dsame
add requested changes
9b4533e
@dsame
remove tab
d8ddd10
@dsame dsame mentioned this pull request Oct 17, 2023
Update README.md with more samples akv-platform/setup-go#5
Open
2 tasks
dsame added 3 commits November 4, 2023 09:10
@dsame
fix hashFile
b91a04b
@dsame
fix hashFiles for modules dependencies
b4a827d
@dsame
fix restore-keys
ffbd08b
@andig andig mentioned this pull request Apr 5, 2024
feat: add cache prefix #358
Closed
aleclerc-cio
aleclerc-cio reviewed Apr 26, 2024
View reviewed changes
Comment thread README.md
uses: actions/cache@v3
with:
path: |
${{ env.cache }}

@aleclerc-cio aleclerc-cio Apr 26, 2024

Copy link
Copy Markdown

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.

should this be env.modcache and the next one be env.cache?

Sorry, something went wrong.

Uh oh!

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

All reactions
@fingon

fingon commented Jan 15, 2025

Copy link
Copy Markdown

The monorepo instructions assume you build everything in every workflow too - if not, the cache is partially populated, and you would be better off having manual caching as opposed to what setup-go currently offers.

All reactions

Sorry, something went wrong.

Uh oh!

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

stefanb
stefanb reviewed Apr 17, 2025
View reviewed changes
Comment thread README.md
```

### Caching in multirepos
`cache-dependency-path` input assepts glob patterns and multi-line values:

@stefanb stefanb Apr 17, 2025

Copy link
Copy Markdown

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.

typo

Suggested change
`cache-dependency-path` input assepts glob patterns and multi-line values:
`cache-dependency-path` input accepts glob patterns and multi-line values:

Sorry, something went wrong.

Uh oh!

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

All reactions
@v-priyagupta108

v-priyagupta108 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Thanks for this @dsame! Closing as superseded by #724, which rearranged the README and moved caching guidance into docs/advanced-usage.md, where the sections proposed here are already covered.

All reactions

Sorry, something went wrong.

Uh oh!

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

@v-priyagupta108 v-priyagupta108 closed this Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

3 more reviewers
@stefanb stefanb stefanb left review comments
@aleclerc-cio aleclerc-cio aleclerc-cio left review comments
@marko-zivic-93 marko-zivic-93 marko-zivic-93 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

@dsame dsame

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

6 participants

@dsame @fingon @v-priyagupta108 @stefanb @marko-zivic-93 @aleclerc-cio
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.