run all in CI

This commit is contained in:
Florian Forster
2025-02-19 17:21:38 +01:00
parent 50904d7914
commit a67aa05646
3 changed files with 12 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ ARG GOLANG_CI_VERSION=
RUN apt-get update && apt-get install -y npm && npm install -g sass@${SASS_VERSION}
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v${GOLANG_CI_VERSION}
WORKDIR /app
COPY go.mod go.sum Makefile buf.gen.yaml buf.work.yaml main.go .golangci.yaml ./
COPY go.mod go.sum Makefile buf.gen.yaml buf.work.yaml main.go ./
COPY cmd/ cmd/
COPY internal/ internal/
COPY openapi/ openapi/
@@ -18,6 +18,7 @@ FROM base AS build
RUN make compile_pipeline
FROM base AS lint
COPY .golangci.yaml ./
COPY .git/ ./.git/
RUN make core_lint