Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run unit tests on macOS #660

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/push.yml → .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Per-commit Checks
name: Checks

on:
push:
Expand All @@ -14,6 +14,8 @@ jobs:
target: linux_amd64
- runs-on: windows-latest
target: windows_amd64
- runs-on: macos-latest
target: darwin_amd64
fail-fast: false

name: "Unit Tests on ${{ matrix.target }}"
Expand All @@ -32,7 +34,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: 1.18
go-version-file: go.mod
- name: Go test
run: |
go test ./... -race
Expand All @@ -47,7 +49,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: 1.18
go-version-file: go.mod
- name: "Check vet"
run: |
go vet ./...
Expand Down