Debian Codegraph @

.github/workflows/lint.yaml

raw
1 name: Run lint
2
3 on: [ push, pull_request ]
4
5 jobs:
6 lint:
7 runs-on: ubuntu-latest
8 steps:
9 - name: Checkout code
10 uses: actions/checkout@v4
11 - name: Lint
12 uses: golangci/golangci-lint-action@v3
13 with:
14 # version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
15 version: latest
16
17 # Optional: show only new issues if it's a pull request. The default value is `false`.
18 # only-new-issues: true
19
20 # golangci-lint command line arguments.
21 args:
22 -v
23 --max-same-issues 10