Skip to content

Bug fix - incomplete TCP socket read #89

Bug fix - incomplete TCP socket read

Bug fix - incomplete TCP socket read #89

Workflow file for this run

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: dorny/paths-filter@v2
id: filter
with:
filters: |
sources:
- 'pkg/**'
- 'cmd/**'
- 'scripts/**'
- uses: actions/setup-go@v4
if: steps.filter.outputs.sources == 'true'
with:
go-version: 1.21
- name: Build all Monarch clients
if: steps.filter.outputs.sources == 'true'
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: dorny/paths-filter@v2
id: filter
with:
filters: |
sources:
- 'pkg/**'
- 'cmd/**'
- 'scripts/**'
- 'docker/monarch/**'
- uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Install Monarch
if: steps.filter.outputs.sources == 'true'
continue-on-error: false
run: bash ${{ matrix.install_script }}
- name: Setup Monarch Container
if: steps.filter.outputs.sources == 'true'
continue-on-error: false
run: docker build -t monarch -f docker/builder/Dockerfile .
- name: Run Monarch tests
if: steps.filter.outputs.sources == 'true'
run: go test ./...
- name: Cleanup
if: steps.filter.outputs.sources == 'true'
run: bash ./scripts/uninstall-monarch.sh