Skip to content

Commit

Permalink
enable race detector on building actionlint binary in CI
Browse files Browse the repository at this point in the history
to catch issues similar to #333
  • Loading branch information
rhysd committed Aug 5, 2023
1 parent 43f7b04 commit 93d458d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- run: go build ./cmd/actionlint
# Set -race for catching data races on dog fooding (#333)
- run: go build -race ./cmd/actionlint
env:
# Note: -race requires cgo
CGO_ENABLED: 0
Expand Down

0 comments on commit 93d458d

Please sign in to comment.