Skip to content

Commit 1cd597b

Browse files
committed
GHA: introduce golangci-lint
The same GitHub Action already used in the icinga-go-library was added to the Go workflow.
1 parent 2184aff commit 1cd597b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/go.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ jobs:
3838
with:
3939
install-go: false
4040

41+
- uses: golangci/golangci-lint-action@v6
42+
with:
43+
version: latest
44+
only-new-issues: true
45+
46+
# Enable the gosec linter w/o having to create a .golangci.yml config
47+
args: -E gosec
48+
4149
vet:
4250
runs-on: ubuntu-latest
4351
steps:

0 commit comments

Comments
 (0)