Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to skip caching of folders. #154

Merged
merged 1 commit into from Feb 14, 2021

Conversation

smyrman
Copy link
Contributor

@smyrman smyrman commented Jan 28, 2021

Fix #153.

  • Add option to skip caching the Go package directory (~/go/pkg).
  • Add option to skip caching the Go build directory (~/.cache/go-build).
  • Update README to mention new options.

@smyrman smyrman force-pushed the skip-cache branch 2 times, most recently from 263fcb3 to e3f3aaa Compare January 28, 2021 11:30
Add option to skip caching the Go package directory (~/go/pkg).
Add option to skip caching the Go build directory (~/.cache/go-build).
Update README to mention new options.
@smyrman
Copy link
Contributor Author

smyrman commented Jan 28, 2021

Example output with no cache hit:

image

@smyrman smyrman marked this pull request as ready for review January 28, 2021 11:55
@smyrman
Copy link
Contributor Author

smyrman commented Jan 28, 2021

Example output with cache hit:
image

Copy link
Member

@SVilgelm SVilgelm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you

@SVilgelm
Copy link
Member

Hi @smyrman
thank you for the changes, I'm going to release it in the next release (v2.4.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow disabeling go mod cache
3 participants