diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 60745afc8..8963ba7d5 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -12,9 +12,25 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Link Checker - id: lychee - uses: lycheeverse/lychee-action@v1.9.3 + - name: Restore lychee cache + id: restore-cache + uses: actions/cache/restore@v3 + with: + path: .lycheecache + key: cache-lychee-${{ github.sha }} + restore-keys: cache-lychee- + + - name: Run lychee + uses: lycheeverse/lychee-action@v1.9.0 + with: + args: "--base . --cache --max-cache-age 1d . --max-redirects 10 --max-retries 5 --user-agent Chrome/51.0.2704.103 Safari/537.36" + + - name: Save lychee cache + uses: actions/cache/save@v3 + if: always() + with: + path: .lycheecache + key: ${{ steps.restore-cache.outputs.cache-primary-key }} - name: Create Issue From File if: env.lychee_exit_code != 0 diff --git a/.lycheeignore b/.lycheeignore index acf76b0ca..9f3316315 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1,5 +1,6 @@ http://localhost/* https://twitter.com/* +https://instagram.com/* https://you.com/* https://www.looka.com/* https://pkgs.org/download/proxychains-ng