Skip to content

ci: setup codecov (#9) #32

ci: setup codecov (#9)

ci: setup codecov (#9) #32

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
- name: Test
run: make test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}