We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16cc7dc commit da1bc93Copy full SHA for da1bc93
.github/workflows/lint.yaml
@@ -0,0 +1,16 @@
1
+name: lint
2
+on: [push, pull_request]
3
+jobs:
4
+ lint:
5
+ strategy:
6
+ matrix:
7
+ go-version: [1.x]
8
+ platform: [ubuntu-latest]
9
+ runs-on: ${{ matrix.platform }}
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - name: golangci-lint
13
+ uses: golangci/golangci-lint-action@v3
14
+ with:
15
+ version: latest
16
+ args: --timeout 3m --verbose
.golangci.yaml
@@ -0,0 +1,13 @@
+linters:
+ enable:
+ - dogsled
+ - dupl
+ - gofmt
+ - goimports
+ - gosec
+ - misspell
+ - nakedret
+ - stylecheck
+ - unconvert
+ - unparam
+ - whitespace
0 commit comments