Skip to content

Commit

Permalink
Merge pull request #660 from hashicorp/ci-test-on-macos
Browse files Browse the repository at this point in the history
Run unit tests on macOS
  • Loading branch information
radeksimko authored Feb 26, 2024
2 parents 63380ba + 97cf603 commit bd58136
Showing 1 changed file with 5 additions and 3 deletions.
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

0 comments on commit bd58136

Please sign in to comment.