fix: switch to mockery instead of handcrafted stubs
This commit was merged in pull request #203.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
FROM golang:1.23.2@sha256:adee809c2d0009a4199a11a1b2618990b244c6515149fe609e2788ddf164bd10 AS builder_go
|
||||
WORKDIR /me-fit
|
||||
RUN go install github.com/a-h/templ/cmd/templ@latest
|
||||
RUN go install github.com/a-h/templ/cmd/templ@latest && go install github.com/vektra/mockery/v2@latest
|
||||
COPY . ./
|
||||
RUN templ generate && go test ./... && go build -o /me-fit/me-fit .
|
||||
RUN templ generate && mockery && go test ./... && go build -o /me-fit/me-fit .
|
||||
|
||||
|
||||
FROM node:22.9.0@sha256:69e667a79aa41ec0db50bc452a60e705ca16f35285eaf037ebe627a65a5cdf52 AS builder_node
|
||||
|
||||
Reference in New Issue
Block a user