Skip to content

Merge pull request #54 from open-spaced-repetition/refactor/project-r… #192

Merge pull request #54 from open-spaced-repetition/refactor/project-r…

Merge pull request #54 from open-spaced-repetition/refactor/project-r… #192

Workflow file for this run

name: Test
on: [ push, pull_request, workflow_dispatch ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
go: [ 1.26.x ]
env:
OS: ${{ matrix.os }}
GO: ${{ matrix.go }}
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Run go vet
run: go vet ./...
- name: Run tests
run: go test -race -coverprofile coverage.txt -covermode atomic ./...