Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4

- name: Validate A2A Agent Card
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: './agent-card.json'
```
Expand All @@ -37,7 +37,7 @@ jobs:

```yaml
- name: Validate for Production
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: './agent-card.json'
strict: true
Expand All @@ -49,7 +49,7 @@ jobs:
```yaml
- name: Validate Agent Card
id: validate
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: './agent-card.json'

Expand All @@ -65,7 +65,7 @@ jobs:

```yaml
- name: Validate Remote Agent
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: 'https://example.com/agent-card.json'
test-live: true
Expand All @@ -75,7 +75,7 @@ jobs:

```yaml
- name: Comprehensive Validation
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: './agent-card.json'
strict: true
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Validate Deployed Agent
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: ${{ secrets.DEPLOYED_AGENT_URL }}
strict: true
Expand All @@ -165,7 +165,7 @@ jobs:

- name: Validate Agent Card
id: validate
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: './agent-card.json'

Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
environment: [dev, staging, prod]
steps:
- name: Validate ${{ matrix.environment }}
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: https://api-${{ matrix.environment }}.example.com/agent-card.json
strict: ${{ matrix.environment == 'prod' }}
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Add the following step to your GitHub Actions workflow:

```yaml
- name: Validate Agent Card
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: './agent-card.json'
strict: 'true'
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

- name: Validate Agent Card
id: validation
uses: capiscio/validate-a2a@v1
uses: capiscio/validate-a2a@v2
with:
agent-card: './agent.json'
strict: 'true'
Expand Down
Loading