Skip to content

Merge branch 'main' into next #361

Merge branch 'main' into next

Merge branch 'main' into next #361

Workflow file for this run

name: Codecov
on:
push:
branches: [main, next]
pull_request:
branches: [main, next]
jobs:
coverage:
name: Upload coverage
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
cache-dependency-path: cli/go.sum
- name: Sync topic docs
run: make sync-docs
- name: Generate coverage
working-directory: cli
run: go test -coverprofile=coverage.txt -covermode=atomic ./... || true
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: cli/coverage.txt