You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
589 B

  1. name: "Validate links"
  2. on:
  3. schedule:
  4. - cron: '0 0 * * *'
  5. env:
  6. FORMAT_FILE: README.md
  7. jobs:
  8. validate_links:
  9. name: 'Check all links are working'
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout repository
  13. uses: actions/checkout@v2
  14. - name: Set up Python
  15. uses: actions/setup-python@v2
  16. with:
  17. python-version: '3.8'
  18. - name: Install dependencies
  19. run: python -m pip install -r scripts/requirements.txt
  20. - name: Validate all links from README.md
  21. run: python scripts/validate/links.py ${FORMAT_FILE}