Skip to content

Commit

Permalink
build: add golangci-lint for linting local builds
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptnull committed Mar 5, 2023
1 parent 55e584d commit af22f59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
build:
lint:
docker run --rm -v $(pwd):/app -v ~/.cache/golangci-lint/:/root/.cache -w /app golangci/golangci-lint golangci-lint run -v

build: lint
go build -o waymond cmd/waymond/main.go

0 comments on commit af22f59

Please sign in to comment.