Skip to content

Architectural changes #84

Architectural changes

Architectural changes #84

Workflow file for this run

name: Test and coverage
on:
push:
branches:
- master
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
cache: true
cache-dependency-path: "**/go.sum"
go-version-file: "./go.mod"
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}