We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ddc85d commit f523826Copy full SHA for f523826
.github/workflows/go.yml
@@ -7,7 +7,20 @@ on:
7
branches: [ master ]
8
9
jobs:
10
- build:
+ lint:
11
+ name: lint
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-go@v5
16
+ with:
17
+ go-version: '1.22'
18
+ - name: golangci-lint
19
+ uses: golangci/golangci-lint-action@v4
20
21
+ version: 1.57.1
22
+
23
+ test:
24
runs-on: ubuntu-latest
25
26
strategy:
@@ -24,11 +37,6 @@ jobs:
37
with:
38
go-version: ${{ matrix.go }}
39
27
- - name: golangci-lint
28
- uses: golangci/golangci-lint-action@v3
29
- with:
30
- version: v1.57.1
31
-
32
40
- name: Test
33
41
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
34
42
0 commit comments