Disable caches
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
3423d29815
commit
415b69155b
@ -1,6 +1,6 @@
|
|||||||
version: 2.1
|
version: 2.1
|
||||||
orbs:
|
orbs:
|
||||||
go: gotest/tools@0.0.9
|
go: gotest/tools@0.0.13
|
||||||
|
|
||||||
executors:
|
executors:
|
||||||
golang:
|
golang:
|
||||||
@ -79,7 +79,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- install-deps
|
- install-deps
|
||||||
- prepare
|
- prepare
|
||||||
- go/mod-download
|
|
||||||
- go/mod-tidy-check
|
- go/mod-tidy-check
|
||||||
|
|
||||||
build-all:
|
build-all:
|
||||||
@ -90,9 +89,6 @@ jobs:
|
|||||||
- go/mod-download
|
- go/mod-download
|
||||||
- run: sudo apt-get update
|
- run: sudo apt-get update
|
||||||
- run: sudo apt-get install npm
|
- run: sudo apt-get install npm
|
||||||
- restore_cache:
|
|
||||||
name: restore go mod cache
|
|
||||||
key: v1-go-deps-{{ arch }}-{{ checksum "/home/circleci/project/go.mod" }}
|
|
||||||
- run:
|
- run:
|
||||||
command: make buildall
|
command: make buildall
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
@ -112,10 +108,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- install-deps
|
- install-deps
|
||||||
- prepare
|
- prepare
|
||||||
- go/mod-download
|
|
||||||
- restore_cache:
|
|
||||||
name: restore go mod cache
|
|
||||||
key: v2-go-deps-{{ arch }}-{{ checksum "/home/circleci/project/go.mod" }}
|
|
||||||
- run:
|
- run:
|
||||||
command: make debug
|
command: make debug
|
||||||
|
|
||||||
@ -160,9 +152,6 @@ jobs:
|
|||||||
- install-deps
|
- install-deps
|
||||||
- prepare
|
- prepare
|
||||||
- go/mod-download
|
- go/mod-download
|
||||||
- restore_cache:
|
|
||||||
name: restore go mod cache
|
|
||||||
key: v2-go-deps-{{ arch }}-{{ checksum "/home/circleci/project/go.mod" }}
|
|
||||||
- run:
|
- run:
|
||||||
command: make deps lotus
|
command: make deps lotus
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
@ -193,13 +182,6 @@ jobs:
|
|||||||
shell: /bin/bash -eo pipefail
|
shell: /bin/bash -eo pipefail
|
||||||
command: |
|
command: |
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash)
|
||||||
- save_cache:
|
|
||||||
name: save go mod cache
|
|
||||||
key: v1-go-deps-{{ arch }}-{{ checksum "/home/circleci/project/go.mod" }}
|
|
||||||
paths:
|
|
||||||
- "~/go/pkg"
|
|
||||||
- "~/go/src/github.com"
|
|
||||||
- "~/go/src/golang.org"
|
|
||||||
|
|
||||||
test-short:
|
test-short:
|
||||||
<<: *test
|
<<: *test
|
||||||
@ -234,7 +216,7 @@ jobs:
|
|||||||
curl --location https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64 --output /usr/local/bin/jq
|
curl --location https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64 --output /usr/local/bin/jq
|
||||||
chmod +x /usr/local/bin/jq
|
chmod +x /usr/local/bin/jq
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
name: restore go mod and cargo cache
|
name: restore cargo cache
|
||||||
key: v3-go-deps-{{ arch }}-{{ checksum "~/go/src/github.com/filecoin-project/lotus/go.sum" }}
|
key: v3-go-deps-{{ arch }}-{{ checksum "~/go/src/github.com/filecoin-project/lotus/go.sum" }}
|
||||||
- install-deps
|
- install-deps
|
||||||
- go/mod-download
|
- go/mod-download
|
||||||
|
Loading…
Reference in New Issue
Block a user