Skip to content

Merge pull request #181 from monochromegane/permissions #491

Merge pull request #181 from monochromegane/permissions

Merge pull request #181 from monochromegane/permissions #491

Workflow file for this run

name: test
on:
pull_request:
branches:
- "**"
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macOS-latest
steps:
- name: setup go
uses: actions/setup-go@v3
with:
go-version: 1.x
- name: checkout
uses: actions/checkout@v3
- name: test
run: go test -race -coverprofile coverage.out -covermode atomic ./...
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Send coverage
uses: codecov/codecov-action@v1