Merge pull request #2229 from k8s-infra-cherrypick-robot/cherry-pick-… #5294
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: MacOS Build & Unit Test | |
| on: | |
| pull_request: {} | |
| push: {} | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: macos-latest | |
| steps: | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ^1.16 | |
| id: go | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| - name: Build Test | |
| run: | | |
| make blob-darwin | |
| - name: Run unit tests on MacOS | |
| run: go test -v -race ./pkg/... |