77 - checkout
88 - restore_cache :
99 keys :
10- - go-{{ checksum "go.sum" }}
10+ - go-v1- {{ checksum "go.sum" }}
1111 # Fallback to using the latest cache if no exact match is found.
12- - go-
12+ - go-v1-
1313 - run : ./ci/fmt.sh
1414 - save_cache :
1515 paths :
16- - /go
16+ - /root/ go
1717 - /root/.cache/go-build
18- key : go-{{ checksum "go.sum" }}
18+ key : go-v1- {{ checksum "go.sum" }}
1919
2020 lint :
2121 docker :
@@ -24,15 +24,15 @@ jobs:
2424 - checkout
2525 - restore_cache :
2626 keys :
27- - go-{{ checksum "go.sum" }}
27+ - go-v1- {{ checksum "go.sum" }}
2828 # Fallback to using the latest cache if no exact match is found.
29- - go-
29+ - go-v1-
3030 - run : ./ci/lint.sh
3131 - save_cache :
3232 paths :
33- - /go
33+ - /root/ go
3434 - /root/.cache/go-build
35- key : go-{{ checksum "go.sum" }}
35+ key : go-v1- {{ checksum "go.sum" }}
3636
3737 test :
3838 docker :
@@ -41,17 +41,20 @@ jobs:
4141 - checkout
4242 - restore_cache :
4343 keys :
44- - go-{{ checksum "go.sum" }}
44+ - go-v1- {{ checksum "go.sum" }}
4545 # Fallback to using the latest cache if no exact match is found.
46- - go-
46+ - go-v1-
4747 - run : ./ci/test.sh
4848 - store_artifacts :
4949 path : ci/out
50+ destination : out
5051 - save_cache :
5152 paths :
52- - /go
53+ - /root/ go
5354 - /root/.cache/go-build
54- key : go-{{ checksum "go.sum" }}
55+ key : go-v1-{{ checksum "go.sum" }}
56+ - store_test_results :
57+ path : ci/out
5558
5659 bench :
5760 docker :
@@ -60,17 +63,18 @@ jobs:
6063 - checkout
6164 - restore_cache :
6265 keys :
63- - go-{{ checksum "go.sum" }}
66+ - go-v1- {{ checksum "go.sum" }}
6467 # Fallback to using the latest cache if no exact match is found.
65- - go-
68+ - go-v1-
6669 - run : ./ci/bench.sh
6770 - store_artifacts :
6871 path : ci/out
72+ destination : out
6973 - save_cache :
7074 paths :
71- - /go
75+ - /root/ go
7276 - /root/.cache/go-build
73- key : go-{{ checksum "go.sum" }}
77+ key : go-v1- {{ checksum "go.sum" }}
7478
7579workflows :
7680 version : 2
@@ -85,4 +89,4 @@ workflows:
8589 - test
8690 bench :
8791 jobs :
88- - bench
92+ - bench
0 commit comments