Bump actions/checkout from 3df4ab11eba7bda6032a0b82a6bb43b11571feac to b4ffde65f46336ab88eb53be808477a3936bae11 #81
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Code Coverage" | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.19' | |
- name: Run test coverage | |
run: go test -race -coverprofile=coverage.out -covermode=atomic ./... | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: coverage.out |