File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,15 @@ jobs:
38
38
- uses : actions/setup-go@v4
39
39
with :
40
40
go-version : ${{ matrix.go }}
41
- # Set -race for catching data races on dog fooding (#333)
42
- - run : go build -race ./cmd/actionlint
41
+ - run : go test -v -race -coverprofile coverage.txt -covermode=atomic ./...
42
+ - run : go tool cover -func ./coverage.txt
43
+ # Check build without CGO
44
+ - run : go build ./cmd/actionlint
43
45
env :
44
46
# Note: -race requires cgo
45
47
CGO_ENABLED : 0
46
- - run : go test -v -race -coverprofile coverage.txt -covermode=atomic ./...
47
- - run : go tool cover -func ./coverage.txt
48
+ # Set -race for catching data races on dog fooding (#333)
49
+ - run : go build -race ./cmd/actionlint
48
50
- name : Dog fooding 🐶
49
51
run : |
50
52
echo "::add-matcher::.github/actionlint-matcher.json"
You can’t perform that action at this time.
0 commit comments