Skip to content

Add github.com/matryer/moq style mocks into mockery #730

Add github.com/matryer/moq style mocks into mockery

Add github.com/matryer/moq style mocks into mockery #730

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.21', '1.22']
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