Skip to content

Commit 93d458d

Browse files
committed
enable race detector on building actionlint binary in CI
to catch issues similar to #333
1 parent 43f7b04 commit 93d458d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ jobs:
3838
- uses: actions/setup-go@v4
3939
with:
4040
go-version: ${{ matrix.go }}
41-
- run: go build ./cmd/actionlint
41+
# Set -race for catching data races on dog fooding (#333)
42+
- run: go build -race ./cmd/actionlint
4243
env:
4344
# Note: -race requires cgo
4445
CGO_ENABLED: 0

0 commit comments

Comments
 (0)