Skip to content

Commit

Permalink
Don't cache git
Browse files Browse the repository at this point in the history
  • Loading branch information
smiller171 authored Aug 2, 2019
1 parent 2a0c503 commit 3422464
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,7 @@ jobs:
- restore_cache:
keys:
- godeps-v2
- src-v1-{{ .Branch }}-{{ .Revision }}
- src-v1-{{ .Branch }}-
- src-v1-
- checkout
- save_cache:
key: src-v1-{{ .Branch }}-{{ .Revision }}
paths:
- ".git"
- run: go get -v -t -d ./...
- save_cache:
key: godeps-v2
Expand All @@ -80,9 +73,6 @@ jobs:
- restore_cache:
keys:
- godeps-v2
- src-v1-{{ .Branch }}-{{ .Revision }}
- src-v1-{{ .Branch }}-
- src-v1-
- checkout
- run: CGO_ENABLED=0 go build -a -ldflags '-s' -o terraform-provider-errorcheck_v${CIRCLE_TAG}_linux_amd64
- run: pwd && ls -la
Expand All @@ -103,9 +93,6 @@ jobs:
- restore_cache:
keys:
- godeps-v2
- src-v1-{{ .Branch }}-{{ .Revision }}
- src-v1-{{ .Branch }}-
- src-v1-
- checkout
- run: GOOS=darwin GOARCH=amd64 go build -a -ldflags '-s' -o terraform-provider-errorcheck_v${CIRCLE_TAG}_darwin_amd64
- run: pwd && ls -la
Expand All @@ -117,12 +104,6 @@ jobs:
docker:
- image: cibuilds/github:0.12
steps:
- restore_cache:
keys:
- src-v1-{{ .Branch }}-{{ .Revision }}
- src-v1-{{ .Branch }}-
- src-v1-
- checkout
- attach_workspace:
at: ./artifacts
- run:
Expand Down

0 comments on commit 3422464

Please sign in to comment.