Skip to content

Commit 87950bb

Browse files
authored
ci: fix Go version and Linux race filter (#1060)
The first CI run after the native web application merge failed before exercising the new API and web checks. Those jobs used Go 1.26.4 while the module requires Go 1.26.6. The Linux race job also assumed ripgrep on the project's self-hosted runner, so it exited before filtering the package list. This updates the API and web jobs to the required toolchain and uses the runner's standard `grep` utility for the race shard. Application and release packaging code remain unchanged; this only restores CI coverage. Co-authored-by: Wes McKinney <wesm@users.noreply.github.com>
1 parent eba43f6 commit 87950bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575

7676
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
7777
with:
78-
go-version: '1.26.4'
78+
go-version: '1.26.6'
7979
cache: ${{ github.repository == 'kenn-io/roborev' && (github.event_name == 'push' && github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.base.repo.full_name == github.repository)) && 'false' || 'true' }}
8080

8181
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
@@ -100,7 +100,7 @@ jobs:
100100

101101
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
102102
with:
103-
go-version: '1.26.4'
103+
go-version: '1.26.6'
104104
cache: ${{ github.repository == 'kenn-io/roborev' && (github.event_name == 'push' && github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.base.repo.full_name == github.repository)) && 'false' || 'true' }}
105105

106106
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
@@ -158,7 +158,7 @@ jobs:
158158
# The daemon package is large enough to exceed Go's package timeout
159159
# under the race detector, so dedicated jobs shard it below.
160160
go list ./... |
161-
rg -v '^go\.kenn\.io/roborev/internal/daemon$' |
161+
grep -v '^go\.kenn\.io/roborev/internal/daemon$' |
162162
xargs go test -json -timeout 30m -race -shuffle=on -tags integration 2>&1 |
163163
tee "test-results/${{ matrix.os }}-test.jsonl"
164164

0 commit comments

Comments
 (0)