Debian Codegraph @

.github/workflows/lint.yaml

raw
1 name: lint
2 on: [ push, pull_request ]
3 jobs:
4 lint:
5 runs-on: ubuntu-latest
6 steps:
7 - uses: actions/checkout@v2
8 - uses: actions/setup-go@v2
9 with:
10 go-version: "^1.19"
11 - uses: golangci/golangci-lint-action@v2
12 with:
13 version: latest
14 skip-go-installation: true
15 args:
16 -v
17 --max-same-issues 10
18 --disable-all
19 --exclude-use-default=false
20 -E asciicheck
21 -E deadcode
22 -E errcheck
23 -E forcetypeassert
24 -E gocritic
25 -E gofmt
26 -E goimports
27 -E gosimple
28 -E govet
29 -E ineffassign
30 -E misspell
31 -E revive
32 -E staticcheck
33 -E structcheck
34 -E typecheck
35 -E unused
36 -E varcheck