Deleted unneeded quotes #16
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 links on push + PR | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lychee: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/[email protected] | |
| - name: Restore lychee cache | |
| id: restore-cache | |
| uses: actions/cache/[email protected] | |
| with: | |
| path: .lycheecache | |
| key: cache-lychee-${{ github.sha }} | |
| restore-keys: cache-lychee- | |
| - name: Validate links | |
| uses: lycheeverse/[email protected] | |
| with: | |
| # Check all files, ignore ok/redir/blocked/rate-limited | |
| args: >- | |
| . --no-progress --include-mail | |
| --include-fragments --index-files README.md,docs/README.md --exclude "#readme" | |
| --accept 200..299,300..399,403,429 | |
| --cache --max-cache-age 3d | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - name: Save lychee cache | |
| uses: actions/cache/[email protected] | |
| if: always() | |
| with: | |
| path: .lycheecache | |
| key: ${{ steps.restore-cache.outputs.cache-primary-key }} |