This repository was archived by the owner on Jul 5, 2026. It is now read-only.
feat: life is beautiful and we will never ever forget this anymore - … #242
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 rss feed | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'scripts/generate_rss.py' | |
| - 'scripts/validate_rss.py' | |
| - 'rss.xml' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'scripts/generate_rss.py' | |
| - 'scripts/validate_rss.py' | |
| - 'rss.xml' | |
| workflow_dispatch: | |
| jobs: | |
| validate-rss: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: ✅ set up python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: ✅ install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: ✅ generate RSS feed | |
| run: python scripts/generate_rss.py | |
| - name: ✅ validate RSS feed | |
| run: python scripts/validate_rss.py rss.xml | |
| - name: ✅ check XML validity | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libxml2-utils | |
| xmllint --noout rss.xml |