add github workflow #1
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
jobs: | |
validate-with-agent-protocol: | |
name: Validate agent protocol compliance | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install agent requirements | |
run: bun i | |
- name: Run agent and validate compliance | |
run: | | |
bun run:agent | |
URL=http://localhost:8000 bash -c "$(curl -fsSL https://agentprotocol.ai/test.sh)" |