Skip to content

Commit

Permalink
Fixed ci linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartendeKruijf committed Mar 6, 2024
1 parent 4d467c0 commit 39ca78c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:

- name: lint
run: |
ls -la
golangci-lint run --timeout 5m -v
ls -la
make lint
shell: bash

test:
Expand Down
4 changes: 3 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39ca78c

Please sign in to comment.