Skip to content

Merge pull request #2984 from zhanggbj/remove_keep_alive_handler #1448

Merge pull request #2984 from zhanggbj/remove_keep_alive_handler

Merge pull request #2984 from zhanggbj/remove_keep_alive_handler #1448

Workflow file for this run

name: codecov
on:
push:
branches:
- main
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: '1.21'
- run: "PATH=/usr/local/go/bin:$PATH make test-cover"
# Retry codecov upload. It is flaky due to a known issue https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
- uses: Wandalen/wretry.action@6feedb7dedadeb826de0f45ff482b53b379a7844 # v3.5.0
with:
attempt_limit: 20
action: codecov/codecov-action@7afa10ed9b269c561c2336fd862446844e0cbf71 # v4.2.0
with: |
file: ./coverage.out
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}