Skip to content

Commit

Permalink
Introduce golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Oct 26, 2024
1 parent 75df990 commit 0588ef4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v6
- run: make test
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ test: vet
.PHONY: vet
vet:
go vet ./...

.PHONY: lint
lint:
golangci-lint run

0 comments on commit 0588ef4

Please sign in to comment.