Merge pull request #1109 from k8s-infra-cherrypick-robot/cherry-pick-… #2502
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: Darwin | |
| on: | |
| pull_request: {} | |
| push: {} | |
| jobs: | |
| build: | |
| name: Unit Tests | |
| runs-on: macos-latest | |
| steps: | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version: ^1.16 | |
| id: go | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 | |
| - name: Run unit tests | |
| run: | | |
| go version | |
| go test -v -race ./pkg/... |