Skip to content

Commit 830bc89

Browse files
authored
ci: update test workflow to run on multiple OS and enable race detection (#51)
1 parent 688c8ca commit 830bc89

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ on: [push]
44

55
jobs:
66
tests:
7-
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
os: [ubuntu-latest, windows-latest, macos-latest]
10+
runs-on: ${{ matrix.os }}
811
steps:
912
- name: Checkout
1013
uses: actions/checkout@v4
@@ -18,4 +21,4 @@ jobs:
1821
check-latest: true
1922

2023
- name: Run tests
21-
run: go test ./...
24+
run: go test -race ./...

0 commit comments

Comments
 (0)