build: use initial checkout within container
speedup and simplify the build within the container
This commit is contained in:
@@ -24,7 +24,8 @@ exit_if_fail test -z "$(gofmt -s -l ./pkg | tee /dev/stderr)"
|
||||
echo "running go vet"
|
||||
exit_if_fail test -z "$(go vet ./pkg/... | tee /dev/stderr)"
|
||||
|
||||
echo "building binaries"
|
||||
exit_if_fail go run build.go build
|
||||
|
||||
echo "running go test"
|
||||
exit_if_fail go test -v ./pkg/...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user