Skip to content

Commit

Permalink
Add lint target to the Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
verbit committed Mar 6, 2020
1 parent 55b47af commit 9260b30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v2

- name: Lint
run: golangci-lint run
run: make lint

- name: Test
run: make test
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ install:
test:
go test -cover -v ./internal/...

.PHONY: lint
lint:
golangci-lint run

0 comments on commit 9260b30

Please sign in to comment.