diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9d8b76b..1907e26b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,8 +37,8 @@ jobs: - name: lint run: | - ls -la - golangci-lint run --timeout 5m -v + ls -la + make lint shell: bash test: diff --git a/makefile b/makefile index 1d1689e3..33ee41d2 100644 --- a/makefile +++ b/makefile @@ -10,7 +10,9 @@ GOLDFLAGS += -X main.Buildtime=$(BUILDTIME) GOFLAGS = -ldflags "$(GOLDFLAGS)" lint: - golangci-lint run -v + mkdir -p swaggerdocs + swag init -o swaggerdocs + golangci-lint run --timeout 5m -v build: mkdir -p swaggerdocs