Malleable HTTP Endpoints (#20) #82
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: Monarch Build Tester | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-all-monarch: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Build all Monarch clients | |
run: make linux macos windows | |
build-test-monarch: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
install_script: | |
- "./scripts/install-monarch.sh" | |
- "./scripts/docker-install-monarch.sh" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Install Monarch | |
continue-on-error: false | |
run: bash ${{ matrix.install_script }} | |
- name: Setup Monarch Container | |
continue-on-error: false | |
run: docker build -t monarch -f docker/builder/Dockerfile . | |
- name: Run Monarch tests | |
run: go test ./... | |
- name: Cleanup | |
run: bash ./scripts/uninstall-monarch.sh |