Link Checker #7
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: Link Checker | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| check-links: | |
| runs-on: ubuntu-latest | |
| name: Validate App and Reference URLs | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: pip install requests | |
| - name: Validate App and Reference URLs | |
| id: link-check | |
| env: | |
| DATA_FILE: _data/collection.json | |
| run: python .github/workflows/scripts/check_links.py | |
| - name: Upload Results (Failures and Redirects) | |
| if: always() | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: validation-results | |
| path: failed_links.json |