Skip to content

Add Codecov

Add Codecov #8

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Gotestsum installer
uses: autero1/[email protected]
with:
gotestsum_version: '1.11.0'
- name: Test
run: gotestsum --format testname ./...
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ulyssessouza/envlang