Skip to content

Merge pull request #9 from mdawar/encoding #14

Merge pull request #9 from mdawar/encoding

Merge pull request #9 from mdawar/encoding #14

Workflow file for this run

name: CodeCov
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests
run: go test -tags='!fuzz' -race -failfast -coverpkg=./... -coverprofile="coverage.txt" -covermode=atomic ./...
- name: Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}