dotnet-microsoft-agent-framework: refresh Azure AI Foundry Models Responses Agent docs for OpenAI SDK API promotion #54
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: Catalog Check | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Validate automation scripts | |
| run: python3 -m py_compile scripts/generate_catalog.py scripts/upstream_watch.py | |
| - name: Validate catalog source metadata | |
| run: python3 scripts/generate_catalog.py --validate-only | |
| - name: Validate upstream watch config | |
| run: python3 scripts/upstream_watch.py --validate-config | |
| - name: Validate upstream watch JSON | |
| run: | | |
| python3 - <<'PY' | |
| import json | |
| from pathlib import Path | |
| json.loads(Path('.github/upstream-watch.json').read_text()) | |
| json.loads(Path('.github/upstream-watch-state.json').read_text()) | |
| print('watch json ok') | |
| PY | |
| tool-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| - name: Set up .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: "10.0.x" | |
| - name: Build dotnet tool | |
| run: dotnet build dotnet-skills.slnx -c Release | |
| - name: Run dotnet tests | |
| run: dotnet test dotnet-skills.slnx -c Release --no-build | |
| - name: Pack dotnet tool | |
| run: dotnet pack dotnet-skills.slnx -c Release --no-build | |
| - name: Smoke test installable tool | |
| run: bash scripts/smoke_test_tool.sh artifacts/nuget |