diff --git a/.gitea/workflows/testlinks.yml b/.gitea/workflows/testlinks.yml index b8aa641..e9a3cf8 100644 --- a/.gitea/workflows/testlinks.yml +++ b/.gitea/workflows/testlinks.yml @@ -1,16 +1,26 @@ -name: Test links +name: Link checker + on: - - push - - pull_request + push: + pull_request: + schedule: + - cron: '0 0 * * 0' # Sunday 00:00 UTC jobs: - check_urls: + lychee: + name: lychee runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Checkout repository - uses: actions/checkout@v2 - - name: Link check action - uses: serega404/links-check-action@v0.0.1 + uses: actions/checkout@v4 + + - name: Link Checker + uses: lycheeverse/lychee-action@v2 with: - filePath: "README.md" - ignoreCodes: "403,418" \ No newline at end of file + jobSummary: false + args: >- + --no-progress + --max-redirects 0 + --accept 100..=103,200..=299,301..=308,403,418 + '**/*.md'