Add auto diagnostic collection on test failure and ability to skip un… #25
This file contains 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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- 8.* | |
jobs: | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: .go-version | |
- name: Install dependencies | |
run: go install github.com/magefile/mage | |
- name: Run build | |
run: mage build | |
- name: Run test | |
run: mage unitTest |