From 85f973f262706c1150a26291e428e7fa1c014aae Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Fri, 29 Sep 2023 17:13:59 -0700 Subject: [PATCH] fix: makes build inherit from test --- cli/Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/Earthfile b/cli/Earthfile index de2fe1b34..700d7910e 100644 --- a/cli/Earthfile +++ b/cli/Earthfile @@ -36,7 +36,7 @@ test: RUN ginkgo ./... build: - FROM +check + FROM +test ENV CGO_ENABLED=0 RUN go build -ldflags="-extldflags=-static" -o bin/ci cmd/main.go