Skip to content

Merge pull request from GHSA-hcw2-2r9c-gc6p #55

Merge pull request from GHSA-hcw2-2r9c-gc6p

Merge pull request from GHSA-hcw2-2r9c-gc6p #55

Workflow file for this run

name: Collect Code Coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Go Generate
run: go generate
- name: Run coverage
run: go test -race -failfast -coverprofile=coverage.txt -covermode=atomic -v ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3