Skip to content

Commit

Permalink
actions: run race detector separately (#1237)
Browse files Browse the repository at this point in the history
As this is takes too much time to run serially

Signed-off-by: Anders Eknert <[email protected]>
  • Loading branch information
anderseknert authored Nov 4, 2024
1 parent 731c8d2 commit 5631795
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ jobs:
path: ~/go/bin/rq
key: ${{ runner.os }}-${{ runner.arch }}-go-rq-${{ env.RQ_VERSION }}
- run: build/do.rq pull_request
- run: go test -race ./...
if: matrix.os.name == 'linux'
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
if: matrix.os.name == 'linux'
with:
Expand All @@ -70,6 +68,15 @@ jobs:
name: regal-${{ matrix.os.name }}
path: regal

race_detector:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: go.mod
- run: go test -race ./...

code_coverage:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 5631795

Please sign in to comment.