48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: Validate Registry
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Validate registry
|
|
run: python scripts/validate.py
|
|
|
|
toml-format-check:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- name: Install taplo
|
|
run: |
|
|
curl -fsSL https://github.com/tamasfe/taplo/releases/download/0.9.3/taplo-full-linux-x86_64.gz \
|
|
| gunzip > /usr/local/bin/taplo
|
|
chmod +x /usr/local/bin/taplo
|
|
|
|
- name: Check TOML formatting
|
|
run: find . -name '*.toml' -not -path './.git/*' | xargs taplo fmt --check
|
|
|
|
markdown-link-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- name: Check markdown links
|
|
uses: lycheeverse/lychee-action@v2
|
|
with:
|
|
args: --verbose --no-progress '**/*.md'
|
|
fail: false
|
|
continue-on-error: true
|