Skip to content

CodeCov Coverage

CodeCov Coverage #7844

Workflow file for this run

name: CodeCov Coverage
on:
push:
pull_request:
merge_group:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout should always be before setup-go to ensure caching is working
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Run coverage
run: go test -coverprofile=coverage.out -covermode=count ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4