Skip to content

Merge tag 'v1.0.6' into dev #14

Merge tag 'v1.0.6' into dev

Merge tag 'v1.0.6' into dev #14

Workflow file for this run

# Thanks to:
# https://github.com/mvdan/github-actions-golang
on:
push:
branches: [ dev, master ]
pull_request:
branches: [ dev, master ]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout package
uses: actions/checkout@v3
- name: Purge Samples
run: |
rm -rf samples
- name: Test package
run: |
go test -v -coverprofile coverage.out -covermode=count ./...
- name: Upload Coverage Report
uses: codecov/codecov-action@v3
with:
file: ./coverage.out