Plan next steps for production demo #75
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| # Cancel previous runs on the same PR/branch | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| quality-checks: | |
| name: Quality Checks | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go 1.25.4 | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25.4' | |
| cache: true | |
| - name: Verify toolchain infrastructure | |
| run: | | |
| test -f tools.go || (echo "tools.go missing" && exit 1) | |
| test -f scripts/bootstrap.sh || (echo "bootstrap.sh missing" && exit 1) | |
| test -f scripts/pre-commit.sh || (echo "pre-commit.sh missing" && exit 1) | |
| - name: Install TinyGo | |
| uses: acifani/setup-tinygo@v2 | |
| with: | |
| tinygo-version: '0.40.1' | |
| - name: Bootstrap development environment | |
| run: make bootstrap | |
| - name: Verify dependencies are tidy | |
| run: | | |
| go mod tidy | |
| git diff --exit-code go.mod go.sum | |
| - name: Build WASM agent | |
| run: make agent | |
| - name: Run all quality checks | |
| run: make check | |
| - name: Verify binary | |
| run: | | |
| ls -lh bin/igord | |
| file bin/igord | |
| - name: Run tests with coverage | |
| run: go test -coverprofile=coverage.out -covermode=atomic ./... | |
| - name: Display coverage summary | |
| run: go tool cover -func=coverage.out | tail -1 |