joshuacc / ahkpm

The AutoHotkey Package Manager
https://ahkpm.dev
MIT License
61 stars 9 forks source link

Add caching to GitHub action to speed up build #41

Open joshuacc opened 1 year ago

joshuacc commented 1 year ago

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 commented 1 year ago

The Mage GitHub action appears to have a bug which makes it download Mage on every build. See https://github.com/magefile/mage-action/issues/264

joshuacc commented 1 year ago

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