use synctest to make receive stream tests fully deterministc (#5291)

This commit is contained in:
Marten Seemann
2025-08-20 15:44:19 +08:00
committed by GitHub
parent fb82d0da00
commit 257281b6e2
5 changed files with 271 additions and 222 deletions

View File

@@ -4,6 +4,8 @@ jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
GOEXPERIMENT: ${{ matrix.go == '1.24.x' && 'synctest' || '' }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
@@ -40,6 +42,7 @@ jobs:
go: [ "1.24.x", "1.25.x" ]
env:
GOLANGCI_LINT_VERSION: v2.4.0
GOEXPERIMENT: ${{ matrix.go == '1.24.x' && 'synctest' || '' }}
name: golangci-lint (Go ${{ matrix.go }})
steps:
- uses: actions/checkout@v5