File tree Expand file tree Collapse file tree 1 file changed +24
-9
lines changed Expand file tree Collapse file tree 1 file changed +24
-9
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,35 @@ name: Go Tests
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [main]
8
8
9
9
jobs :
10
10
test :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v4
13
+ - uses : actions/checkout@v4
14
14
15
- - name : Set up Go
16
- uses : actions/setup-go@v5
17
- with :
18
- go-version : ' stable'
15
+ - name : Set up Go
16
+ uses : actions/setup-go@v5
17
+ with :
18
+ go-version : " stable"
19
19
20
- - name : Test
21
- run : go test -count=1 -v ./...
20
+ - name : Test
21
+ run : go test -count=1 -v ./...
22
+
23
+ lint :
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - uses : actions/checkout@v4
27
+
28
+ - name : Set up Go
29
+ uses : actions/setup-go@v5
30
+ with :
31
+ go-version : " stable"
32
+
33
+ - name : golangci-lint
34
+ uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
35
+ with :
36
+ version : v2.1
You can’t perform that action at this time.
0 commit comments