Skip to content

Commit

Permalink
update circle ci for go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield committed Jul 3, 2019
1 parent 22ff831 commit 0f3a035
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Expand Up @@ -3,6 +3,8 @@ jobs:
build:
docker:
- image: circleci/golang:1.12
environment:
GO111MODULE: "on"
working_directory: /go/src/github.com/jesseduffield/lazydocker
steps:
- checkout
Expand All @@ -15,7 +17,7 @@ jobs:
fi
- restore_cache:
keys:
- pkg-cache-{{ checksum "Gopkg.lock" }}-v4
- pkg-cache-{{ checksum "go.sum" }}-v5
- run:
name: Run tests
command: |
Expand All @@ -30,7 +32,7 @@ jobs:
go get github.com/mitchellh/gox
gox -mod=vendor -parallel 10 -os "linux freebsd" -osarch "darwin/i386 darwin/amd64"
- save_cache:
key: pkg-cache-{{ checksum "Gopkg.lock" }}-v4
key: pkg-cache-{{ checksum "go.sum" }}-v5
paths:
- ~/.cache/go-build

Expand Down

0 comments on commit 0f3a035

Please sign in to comment.