mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-21 07:50:19 +00:00
run all in CI
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user