Skip to content

chore(deps): update codecov/codecov-action action to v6 #61

chore(deps): update codecov/codecov-action action to v6

chore(deps): update codecov/codecov-action action to v6 #61

Workflow file for this run

name: Test and coverage
on: [push, pull_request]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
with:
fetch-depth: 2
- uses: actions/setup-go@v6.3.0
with:
go-version: '1.26'
- name: Run coverage
run: go test -coverpkg=./... ./... -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
with:
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}