We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c82e90 commit e056c7bCopy full SHA for e056c7b
.github/workflows/go.yml
@@ -25,11 +25,6 @@ jobs:
25
- name: Download dependencies
26
run: go mod download
27
28
- - name: Lint code
29
- uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
30
- with:
31
- version: v2.1.6
32
-
33
- name: Run unit tests
34
run: go test -race ./...
35
.github/workflows/lint.yml
@@ -0,0 +1,23 @@
1
+name: golangci-lint
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ golangci:
13
+ name: lint
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-go@v5
18
+ with:
19
+ go-version: stable
20
+ - name: golangci-lint
21
+ uses: golangci/golangci-lint-action@v8
22
23
+ version: v2.1
0 commit comments