Skip to content

refactor: improve verify-urls.py for type safety and error handling #38

refactor: improve verify-urls.py for type safety and error handling

refactor: improve verify-urls.py for type safety and error handling #38

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths:
- ".github/workflows/ci.yml"
- ".github/scripts/**"
- "README.md"
- "CITATION.cff"
- "scripts/**"
- "skills/**"
pull_request:
branches: [main]
paths:
- ".github/workflows/ci.yml"
- ".github/scripts/**"
- "README.md"
- "CITATION.cff"
- "scripts/**"
- "skills/**"
schedule:
- cron: "0 9 * * 1"
workflow_dispatch:
jobs:
validate:
name: Validate skill source
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install validation dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ruff
- name: Check cross-agent portability
run: python3 .github/scripts/check-portability.py
- name: Run skill source checks
run: python3 scripts/validate.py
- name: Verify referenced URLs
run: python3 scripts/verify-urls.py
- name: Payload sync check
run: bash scripts/sync-payload.sh --ci
- name: Ruff check scripts
run: python3 -m ruff check scripts