Skip to content

Commit

Permalink
GHA: introduce golangci-lint
Browse files Browse the repository at this point in the history
The same GitHub Action already used in the icinga-go-library was added
to the Go workflow.
  • Loading branch information
oxzi committed Oct 11, 2024
1 parent a54ef67 commit 14d4070
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ jobs:
with:
install-go: false

- uses: golangci/golangci-lint-action@v6
with:
version: latest
only-new-issues: true

# Enable the gosec linter w/o having to create a .golangci.yml config
args: -E gosec

vet:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 14d4070

Please sign in to comment.