Skip to content

feat: update generated APIs #4947

feat: update generated APIs

feat: update generated APIs #4947

Workflow file for this run

name: CodeCov Coverage
permissions:
contents: read
on:
push:
pull_request:
merge_group:
jobs:
build:
runs-on: "${{ vars.RUNS_ON || 'ubuntu-latest' }}"
steps:
# Checkout should always be before setup-go to ensure caching is working
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 2
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: stable
- name: Run coverage
run: go tool gotestsum --format github-actions --junitfile junit.xml -- -coverprofile=coverage.out -covermode=count ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
token: ${{ secrets.CODECOV_TOKEN }}