feat(testing): add comprehensive test coverage and code quality improvements #76
+4
-1
@@ -22,7 +22,10 @@ RUN --mount=type=cache,target=/go/pkg/mod \
|
|||||||
--mount=type=cache,target=/root/.cache/go-build \
|
--mount=type=cache,target=/root/.cache/go-build \
|
||||||
CGO_ENABLED=0 GOOS=linux \
|
CGO_ENABLED=0 GOOS=linux \
|
||||||
go build -trimpath \
|
go build -trimpath \
|
||||||
-ldflags="-w -s -X tunnel_pls/version.Version=${VERSION} -X tunnel_pls/version.BuildDate=${BUILD_DATE} -X tunnel_pls/version.Commit=${COMMIT}" \
|
-ldflags="-w -s \
|
||||||
|
-X tunnel_pls/internal/version.Version=${VERSION} \
|
||||||
|
-X tunnel_pls/internal/version.BuildDate=${BUILD_DATE} \
|
||||||
|
-X tunnel_pls/internal/version.Commit=${COMMIT}" \
|
||||||
-o /app/tunnel_pls \
|
-o /app/tunnel_pls \
|
||||||
.
|
.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user