-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Use actions/cache
for go lint actions
#31266
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
base: main
Are you sure you want to change the base?
Conversation
actions/cache
for go lint actions
Results look good. Not as much as I hoped but still a ~2 minute improvement per job: lint-go-windows: 5m 53s -> 3m 53s More could be done to create another cache for |
Now with go build cache also cached, it's quite fast. The only question is whether it is safe to cache the build cache. I assume it is but more testing will be good. lint-go-windows: 5m 53s -> 1m 55s |
Will do a bit more tweaks to always cache |
I wonder if it's safe to retain |
Another question in mind is whether to remove |
Attempt to use
actions/cache
for the go linters which in ideal case would save around 10 minutes of CI time per go lint run.