Skip to content

chore: cleaning up docs and ci #8

chore: cleaning up docs and ci

chore: cleaning up docs and ci #8

Workflow file for this run

name: tests
on:
push:
tags:
- v*
branches:
- actions
- main
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Install cover
run: go get golang.org/x/tools/cmd/cover
- name: Install goveralls
run: go get -u github.com/mattn/goveralls
- name: Test
run: go test --race -v -covermode=atomic -coverprofile=coverage.out ./...
- name: Update Coveralls
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=coverage.out -service=github