Skip to content

Merge pull request #135 from testwill/typo #233

Merge pull request #135 from testwill/typo

Merge pull request #135 from testwill/typo #233

Workflow file for this run

name: test
on:
push:
branches:
- master
paths-ignore:
- 'README.md'
- '.github/'
- 'images/'
pull_request:
branches:
- master
paths-ignore:
- 'README.md'
- '.github/'
- 'images/'
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: go build
- name: Test
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt