Skip to content

Merge pull request #3099 from sbueringer/pr-implement-vm-naming-strategy #1499

Merge pull request #3099 from sbueringer/pr-implement-vm-naming-strategy

Merge pull request #3099 from sbueringer/pr-implement-vm-naming-strategy #1499

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@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: '1.22'
- 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 }}