Skip to content

Commit

Permalink
Merge pull request #37 from dnstapir/golangci-lint-action
Browse files Browse the repository at this point in the history
Run golangci-lint as part of build workflow
  • Loading branch information
eest authored Dec 13, 2024
2 parents 637dbad + a01f871 commit 853ee60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
- name: Build
run: make build
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
linters:
enable:
- revive
- gofumpt
- gosec

0 comments on commit 853ee60

Please sign in to comment.