Validate Feeds #376
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: Validate Feeds | |
| on: | |
| workflow_run: | |
| workflows: ["Run Feeds", "Run Selenium Feeds"] | |
| types: [completed] | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: main | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v8.0.0 | |
| with: | |
| enable-cache: true | |
| - name: Install dependencies and validate all feeds | |
| run: | | |
| uv sync | |
| uv run feed_generators/validate_feeds.py |