Skip to content

Commit

Permalink
Tidy and verify go modules before test/build with earthly
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed May 9, 2024
1 parent f91375b commit 448d40a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ go-deps:
RUN apt-get update && apt-get install -y rsync gcc bash git
WORKDIR /build
COPY go.mod go.sum ./
RUN go mod tidy
RUN go mod download
RUN go mod verify
SAVE ARTIFACT go.mod AS LOCAL go.mod
SAVE ARTIFACT go.sum AS LOCAL go.sum

Expand Down

0 comments on commit 448d40a

Please sign in to comment.