Skip to content

Merge pull request #709 from kpaulisse/kpaulisse-packages-excludes #621

Merge pull request #709 from kpaulisse/kpaulisse-packages-excludes

Merge pull request #709 from kpaulisse/kpaulisse-packages-excludes #621

Workflow file for this run

name: Go Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, ubuntu-latest]
go_vers: ['1.20']
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go_vers }}
- name: Download dependencies
run: go mod download -x
- name: Test
run: go run github.com/go-task/task/v3/cmd/task test.ci
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
verbose: true