From 0458dae5c92819c025a7964e07671c0651413598 Mon Sep 17 00:00:00 2001 From: Robin He Date: Tue, 14 Jul 2026 21:36:57 +0900 Subject: [PATCH 1/2] ci: upgrade workflow action dependencies Signed-off-by: Robin He --- .github/workflows/ci.yml | 17 ++++++++++------- .github/workflows/public-benchmarks.yml | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa53a3e..7e191ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: matrix: go-version: [ '1.26.x', 'stable' ] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: persist-credentials: false @@ -204,8 +204,8 @@ jobs: go test -race -count=1 -timeout=180s -skip "$URING_CI_UNSUPPORTED_ZC_TESTS|$URING_CI_UNSUPPORTED_ZC_EXAMPLES" ./... - vet-build-darwin: - name: Vet & Build (Darwin/arm64, Go ${{ matrix.go-version }}) + vet-build-test-darwin: + name: Vet, Build & Test (Darwin/arm64, Go ${{ matrix.go-version }}) runs-on: macos-latest timeout-minutes: 5 strategy: @@ -213,7 +213,7 @@ jobs: matrix: go-version: [ '1.26.x', 'stable' ] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: persist-credentials: false @@ -239,6 +239,9 @@ jobs: CGO_ENABLED: '0' run: go build ./... + - name: Test with race detector + run: go test -race -count=1 -timeout=120s ./... + upload-coverage: name: Upload Coverage runs-on: ubuntu-latest @@ -248,7 +251,7 @@ jobs: id-token: write timeout-minutes: 5 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: persist-credentials: false @@ -259,7 +262,7 @@ jobs: path: . - name: Upload coverage to Codecov - uses: codecov/codecov-action@v6 + uses: codecov/codecov-action@v7 with: use_oidc: true files: ./coverage.out @@ -279,7 +282,7 @@ jobs: target: - { goos: darwin, goarch: arm64 } steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: persist-credentials: false diff --git a/.github/workflows/public-benchmarks.yml b/.github/workflows/public-benchmarks.yml index 0cf2a9b..590c829 100644 --- a/.github/workflows/public-benchmarks.yml +++ b/.github/workflows/public-benchmarks.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: persist-credentials: false From 12983fd380de873b44d7cc22a2de15b32b68ba56 Mon Sep 17 00:00:00 2001 From: Robin He Date: Tue, 14 Jul 2026 22:19:37 +0900 Subject: [PATCH 2/2] ci: remove race detection from Darwin workflow Signed-off-by: Robin He --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e191ed..e3b48c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -204,8 +204,8 @@ jobs: go test -race -count=1 -timeout=180s -skip "$URING_CI_UNSUPPORTED_ZC_TESTS|$URING_CI_UNSUPPORTED_ZC_EXAMPLES" ./... - vet-build-test-darwin: - name: Vet, Build & Test (Darwin/arm64, Go ${{ matrix.go-version }}) + vet-build-darwin: + name: Vet & Build (Darwin/arm64, Go ${{ matrix.go-version }}) runs-on: macos-latest timeout-minutes: 5 strategy: @@ -239,9 +239,6 @@ jobs: CGO_ENABLED: '0' run: go build ./... - - name: Test with race detector - run: go test -race -count=1 -timeout=120s ./... - upload-coverage: name: Upload Coverage runs-on: ubuntu-latest