Skip to content

ci: update to code cov v5 action #147

ci: update to code cov v5 action

ci: update to code cov v5 action #147

Workflow file for this run

name: Go
on:
pull_request:
push:
branches:
- main
permissions:
actions: none
checks: none
contents: read
deployments: none
issues: none
packages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: Build
run: make build
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
- name: Test
run: make test
- name: Cover
run: make install-go-tools cover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true