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 caching to GitHub action to speed up build #41

Open
joshuacc opened this issue Oct 20, 2022 · 2 comments
Open

Add caching to GitHub action to speed up build #41

joshuacc opened this issue Oct 20, 2022 · 2 comments
Labels
infrastructure Related to developing, building, or releasing ahkpm

Comments

@joshuacc
Copy link
Owner

Ideally should cache both go modules and the golangci-lint binary.

https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows

@joshuacc joshuacc added the infrastructure Related to developing, building, or releasing ahkpm label Oct 20, 2022
@joshuacc joshuacc added this to the 0.4.0 milestone Oct 24, 2022
@joshuacc
Copy link
Owner Author

joshuacc commented Nov 1, 2022

The Mage GitHub action appears to have a bug which makes it download Mage on every build. See magefile/mage-action#264

@joshuacc
Copy link
Owner Author

joshuacc commented Nov 4, 2022

Now both go modules and the golangci-lint binary are being cached. Mage, however, is not.

@joshuacc joshuacc removed this from the 0.4.0 milestone Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Related to developing, building, or releasing ahkpm
Projects
None yet
Development

No branches or pull requests

1 participant