Skip to content

Merge pull request #1 from mrsombre/codecov #2

Merge pull request #1 from mrsombre/codecov

Merge pull request #1 from mrsombre/codecov #2

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 }}