[8.10](backport #3415) elastic-agent install
: Only uninstall when Agent is installed
#6214
Workflow file for this run
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 |