-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci.yml: cache build artefacts where it is needed
If some job is not a build bottleneck - let's remove caching. The main focus points then are "build" and "race" then. To cache test results independently let's use 2 different cache prefixes. See https://markphelps.me/posts/speed-up-your-go-builds-with-actions-cache/. The idea is to always generate cash miss using the second precision key. After the miss we download latest uploaded one using "restore-keys". Potential improvements: 1. golang/go#23565 asks to cache -coverprofile results since 2018. 2. golang/go#61608 to cache -race results.
- Loading branch information
1 parent
c85b7c9
commit 069a095
Showing
1 changed file
with
18 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters