Commit c24efba1df
Unsigned
Layout: unified · split
.github/workflows/link-check.yml +11 −1
| @@ -60,7 +60,6 @@ jobs: | ||
| 60 | 60 | uses: lycheeverse/lychee-action@v2.9.0 |
| 61 | 61 | with: |
| 62 | 62 | args: >- |
| 63 | --exclude-mail | |
| 64 | 63 | --root-dir ${{ github.workspace }}/.build-dev |
| 65 | 64 | --exclude '\.onion' |
| 66 | 65 | --max-concurrency 8 |
| @@ -72,6 +71,17 @@ jobs: | ||
| 72 | 71 | fail: false |
| 73 | 72 | output: external.md |
| 74 | 73 | |
| 74 | # `fail: false` stops a dead third-party link failing the job — but it also | |
| 75 | # swallows lychee refusing to start at all, which reports success while | |
| 76 | # checking nothing. Assert the report has a summary table in it. | |
| 77 | - name: External step actually ran | |
| 78 | run: | | |
| 79 | if ! grep -q "Total" external.md; then | |
| 80 | echo "::error::lychee produced no summary — it did not run" | |
| 81 | cat external.md | |
| 82 | exit 1 | |
| 83 | fi | |
| 84 | ||
| 75 | 85 | - name: Summary |
| 76 | 86 | if: always() |
| 77 | 87 | run: | |