Skip to content

Coverage

Coverage #1

Workflow file for this run

name: main
on: [ push ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: install dependencies
run: |
go mod download -x
- name: test with coverage
run: go test ./... -coverprofile=coverage.out
- name: codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}