Skip to content

Commit

Permalink
Don't use Docker for Go Liint
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisWiegman committed May 5, 2024
1 parent 44d9c48 commit ae4742d
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,11 @@ install:

.PHONY: lint
lint:
docker \
run \
-t \
--rm \
-v $(PWD):/app \
-w /app \
golangci/golangci-lint:latest \
golangci-lint \
run \
-v \
./...
@if [ ! -f $GOPATH/bin/gilangci-lint ]; then \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest;\
fi
@golangci-lint \
run

.PHONY: run
run:
Expand Down

0 comments on commit ae4742d

Please sign in to comment.