|
|
|
|
|
by peterldowns
78 days ago
|
|
Hey everyone, one of the authors here. This is a "small" improvement that has saved us a LOT of developer time over the last few months. It's actually quite crazy to me that the default actions/setup-go simply does not work well if you want to have more than one golang action running at the same time. The blogpost has a lot of technical details, but you can also just read the code and try it yourself: https://github.com/cloudx-io/setup-go |
|
What's the best way to contribute? I'd like to expose the "go-version-file" input for the setup-go action instead of setting a Go version directly. Open an issue in the repo?
Also, have you considered this potential optimization: the module cache doesn't care about architecture, it's just downloaded code. Would it make sense to cache module and build cache separately, and use an architecture-free cache key for the module cache?
[0]: https://danp.net/posts/github-actions-go-cache/