Skip to content

Commit a06d210

Browse files
committed
first commit
1 parent 4827318 commit a06d210

22 files changed

+1220
-331
lines changed

.github/CI.md

Lines changed: 0 additions & 138 deletions
This file was deleted.

.github/CONTRIBUTING.md

Lines changed: 0 additions & 188 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ jobs:
4444
with:
4545
file: ./coverage.out
4646
flags: unittests
47-
fail_ci_if_error: false
48-
continue-on-error: true
4947

5048
lint:
5149
name: Lint
@@ -62,11 +60,10 @@ jobs:
6260
cache: true
6361

6462
- name: Run golangci-lint
65-
uses: golangci/golangci-lint-action@v6
63+
uses: golangci/golangci-lint-action@v8
6664
with:
67-
version: latest
65+
version: v2.5
6866
args: --timeout=5m
69-
continue-on-error: true
7067

7168
build:
7269
name: Build

.golangci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: "2"
2+
run:
3+
tests: true
4+
linters:
5+
enable:
6+
- misspell
7+
- unconvert
8+
- unparam
9+
settings:
10+
errcheck:
11+
check-type-assertions: true
12+
check-blank: true
13+
exclusions:
14+
generated: lax
15+
presets:
16+
- comments
17+
- common-false-positives
18+
- legacy
19+
- std-error-handling
20+
rules:
21+
- linters:
22+
- errcheck
23+
- unparam
24+
path: _test\.go
25+
paths:
26+
- third_party$
27+
- builtin$
28+
- examples$
29+
formatters:
30+
enable:
31+
- gofmt
32+
exclusions:
33+
generated: lax
34+
paths:
35+
- third_party$
36+
- builtin$
37+
- examples$

0 commit comments

Comments
 (0)