Skip to content

Merge pull request #48 from ccoVeille/typos-suggestion #43

Merge pull request #48 from ccoVeille/typos-suggestion

Merge pull request #48 from ccoVeille/typos-suggestion #43

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
types: [opened, reopened]
branches: [master]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.21, 1.22]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}