Update error messages to guide agents to ask users for destructive actions #83
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] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Zig | |
| run: | | |
| curl -L https://ziglang.org/download/0.15.2/zig-x86_64-linux-0.15.2.tar.xz | tar -xJ | |
| echo "$PWD/zig-x86_64-linux-0.15.2" >> $GITHUB_PATH | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Build zagi | |
| run: zig build -Doptimize=ReleaseFast | |
| - name: Run zig tests | |
| run: zig build test | |
| - name: Install test dependencies | |
| working-directory: test | |
| run: bun install | |
| - name: Run integration tests | |
| working-directory: test | |
| run: bun run test |