ci: reduce link checker concurrency (#9076)

Our link checker `lychee` doesn't appear to de-duplicate requests to the
same URL which causes 429 errors with GitHub. To workaround this, we
reduce the concurrency to 1 and activate `lychee`'s cache. This cache is
just a file on disk. We don't need to actually save this in GitHub
actions' cache because all we want is for lychee to not make a request
to same URL again in the same session.

Related: https://github.com/lycheeverse/lychee-action/issues/289
This commit is contained in:
Thomas Eizinger
2025-05-12 12:42:37 +10:00
committed by GitHub
parent 537295d8a3
commit 117881adfe

View File

@@ -18,7 +18,7 @@ jobs:
uses: lycheeverse/lychee-action@1d97d84f0bc547f7b25f4c2170d87d810dc2fb2c # v2.4.0
with:
fail: false
args: --verbose --no-progress --exclude-all-private --base https://firezone.dev .
args: --verbose --no-progress --exclude-all-private --cache --cache-exclude-status 400..599 --max-concurrency 1 --retry-wait-time 60 --base https://firezone.dev .
workingDirectory: website
- name: Create Issue From File