fix: switch to mockery instead of handcrafted stubs
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 1m6s
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 55s

This commit was merged in pull request #203.
This commit is contained in:
2024-10-04 23:54:32 +02:00
parent 4bc17c50a4
commit fd6c68a71b
6 changed files with 69 additions and 53 deletions

View File

@@ -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