Skip to content

Commit a22a894

Browse files
committed
ci: add golangci-lint run
Had to disable errcheck linter, as there are too many warnings yet to be fixed. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent a7cecde commit a22a894

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/test.yml

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ on:
99
pull_request:
1010

1111
jobs:
12+
13+
lint:
14+
runs-on: ubuntu-20.04
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: golangci/golangci-lint-action@v2
18+
with:
19+
version: v1.42
20+
1221
test:
1322
runs-on: ubuntu-20.04
1423
strategy:

.golangci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# For documentation, see https://golangci-lint.run/usage/configuration/
2+
3+
linters:
4+
disable:
5+
- errcheck

0 commit comments

Comments
 (0)