Skip to content

Single Instance Tasks #65

Single Instance Tasks

Single Instance Tasks #65

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.18
- 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: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: madflojo/tasks