Skip to content

Merge pull request #9 from twharmon/update-workflows #2

Merge pull request #9 from twharmon/update-workflows

Merge pull request #9 from twharmon/update-workflows #2

Workflow file for this run

on:
push:
branches:
- main
name: Coverage
jobs:
coverage:
strategy:
matrix:
go-version: [1.21]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- name: Checkout code
uses: actions/checkout@v4
- name: Run coverage
run: go test -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3