File tree Expand file tree Collapse file tree 1 file changed +35
-31
lines changed Expand file tree Collapse file tree 1 file changed +35
-31
lines changed Original file line number Diff line number Diff line change 4
4
name : Go
5
5
6
6
on :
7
- push :
8
- branches : ["main"]
9
- pull_request :
10
- branches : ["main"]
7
+ push :
8
+ branches : ["main"]
9
+ pull_request :
10
+ branches : ["main"]
11
11
12
12
jobs :
13
- build :
14
- runs-on : ubuntu-latest
15
- steps :
16
- - uses : actions/checkout@v4
17
-
18
- - name : Set up Go
19
- uses : actions/setup-go@v4
20
- with :
21
- go-version : " 1.23"
22
-
23
- - name : Build
24
- run : go build -v ./...
25
-
26
- - name : Tests
27
- run : |
28
- go install github.com/mattn/goveralls@latest
29
- go test -race -covermode atomic -coverprofile=covprofile ./...
30
-
31
- - name : Send coverage
32
- uses : shogo82148/actions-goveralls@v1
33
- with :
34
- path-to-profile : covprofile
35
-
36
- - name : golangci-lint
37
- uses : golangci/golangci-lint-action@v6
38
- with :
39
- version : v1.60
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+
18
+ - name : Set up Go
19
+ uses : actions/setup-go@v4
20
+ with :
21
+ go-version : " 1.23"
22
+
23
+ - name : Build
24
+ run : go build -v ./...
25
+
26
+ - name : Tests
27
+ run : |
28
+ go install github.com/mattn/goveralls@latest
29
+ go test -race -run "TestNibbler|TestSanitizeValidate"
30
+
31
+ # race check is ignored for this because of how the test (TestProcessorErr) itself relies
32
+ # on a panic, when pushing to a closed channel
33
+ go test -covermode atomic -coverprofile=covprofile ./...
34
+
35
+ - name : Send coverage
36
+ uses : shogo82148/actions-goveralls@v1
37
+ with :
38
+ path-to-profile : covprofile
39
+
40
+ - name : golangci-lint
41
+ uses : golangci/golangci-lint-action@v6
42
+ with :
43
+ version : v1.60
You can’t perform that action at this time.
0 commit comments