mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-02 22:46:15 +00:00
This removes the `lint` dependency from building Moby. I've also added ineffassign to check ineffecutal assignments alongside checks to ensure that both it and golint are installed. Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
15 lines
546 B
YAML
15 lines
546 B
YAML
version: 2
|
|
executorType: machine
|
|
jobs:
|
|
build:
|
|
environment:
|
|
GOPATH: /home/circleci/.go_workspace
|
|
working_directory: $GOPATH/src/github.com/moby/tool
|
|
steps:
|
|
- checkout
|
|
- run: go get github.com/golang/lint/golint
|
|
- run: go get github.com/gordonklaus/ineffassign
|
|
- run: cd $GOPATH/src/github.com/moby/tool && make test
|
|
- run: cd $GOPATH/src/github.com/moby/tool && make clean && make GOOS=darwin lint moby
|
|
- run: cd $GOPATH/src/github.com/moby/tool && make clean && make GOOS=windows lint moby
|