--- version: 2 jobs: build: working_directory: /go/src/helm.sh/helm parallelism: 3 docker: - image: circleci/golang:1.13 environment: - GOCACHE: "/tmp/go/cache" steps: - checkout - restore_cache: key: gopkg-{{ checksum "Gopkg.lock" }} - restore_cache: keys: - build-cache-{{ .Environment.CIRCLE_PREVIOUS_BUILD_NUM }} - run: name: test style command: make test-style - run: name: test command: make test-coverage - save_cache: key: gopkg-{{ checksum "Gopkg.lock" }} paths: - /go/src/helm.sh/helm/vendor - /go/pkg/dep - save_cache: key: build-cache-{{ .Environment.CIRCLE_BUILD_NUM }} paths: - /tmp/go/cache - deploy: name: deploy command: .circleci/deploy.sh workflows: version: 2 build: jobs: - build: filters: tags: only: /.*/