diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index c6b7fe0d1..343228e9c 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -7,7 +7,7 @@ jobs: link-checker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 2 @@ -15,7 +15,7 @@ jobs: with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version-file: .nvmrc @@ -55,9 +55,9 @@ jobs: run: npm run build - name: Link Checker - uses: lycheeverse/lychee-action@v1.4.1 + uses: lycheeverse/lychee-action@v1 with: - args: --github-token ${{secrets.GITHUB_TOKEN}} --max-concurrency 64 --verbose --no-progress './*.md' './_site/**/*.html' + args: --github-token ${{secrets.GITHUB_TOKEN}} --max-concurrency 64 './*.md' './_site/**/*.html' --config lychee.toml fail: true env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/lychee.toml b/lychee.toml index 91aa9f6cf..6f17a443e 100644 --- a/lychee.toml +++ b/lychee.toml @@ -2,10 +2,10 @@ ### Display ### # Verbose program output -verbose = false +verbose = "info" # Show progress -progress = false +no_progress = true ### @@ -46,7 +46,7 @@ timeout = 20 # Accept 429 responses. They come from GitHub when you are sending too # many requests and get throttled. They don't indicate a bad link. # See https://github.com/lycheeverse/lychee/issues/367. -accept = "200,403,429,401" +accept = ["200..=299", "401", "403", "429"] # Proceed for server connections considered insecure (invalid TLS) insecure = false @@ -88,5 +88,5 @@ exclude_link_local = true # Exclude loopback IP address range and localhost from checking exclude_loopback = true -# Exclude all mail addresses from checking -exclude_mail = true +# Check mail addresses +include_mail = false