Skip to content
Merged
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
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,22 @@ jobs:
python-version: "3.12"
# Runs every hook in .pre-commit-config.yaml against all files.
- uses: pre-commit/action@v3.0.1

# Every example pulls the orchestrator from ../compose.orchestrator.yml via
# `extends`, so one edit there breaks all of them and nobody runs all of them
# before merging. `config` parses and merges; it builds and starts nothing.
compose:
runs-on: ubuntu-latest
env:
HF_TOKEN: dummy # api-proxy requires it; every other variable has a default
steps:
- uses: actions/checkout@v7
- name: Validate every example's compose file
run: |
status=0
for dir in */; do
example=${dir%/}
[ -f "$example/compose.yml" ] || continue
docker compose -f "$example/compose.yml" config --quiet || status=1
done
exit $status
Loading