Skip to content

Commit

Permalink
CI: use go mod tidy to prime cache
Browse files Browse the repository at this point in the history
According to golang/go#43994 go mod tidy should
be used to prime the module cache.

Updates #226
  • Loading branch information
lmb committed Mar 1, 2021
1 parent c5deaba commit 326354f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ blocks:
- go install github.com/mattn/goveralls@latest
- export PATH="$PATH:$HOME/go/bin"
- cache restore
- go mod download
- go mod tidy
- go build ./...
- sudo pip3 install https://github.com/amluto/virtme/archive/538f1e756139a6b57a4780e7ceb3ac6bcaa4fe6f.zip
- sudo apt-get install -y qemu-system-x86 clang-9
Expand Down

0 comments on commit 326354f

Please sign in to comment.