From 9d14e6bb22f9b531fe912508b410260d3a6b26b0 Mon Sep 17 00:00:00 2001 From: Dries De Peuter Date: Fri, 8 Dec 2023 21:07:26 +0100 Subject: [PATCH] fix: Run tests --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 7d4f56e..ff46760 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ COPY go.* . RUN go mod download COPY main.go main.go COPY internal internal +RUN go test ./... RUN CGO_ENABLED=0 GOOS=linux go build -a -o /go-rotate-backups main.go