# DISABLED: External link issues (GitHub rate limiting, third-party sites down) # Re-enable after mainnet launch name: Check links on: workflow_dispatch: # Manual trigger only concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true permissions: packages: read jobs: isdraft: uses: ./.github/workflows/reusable-isdraft.yml link-checker: runs-on: ubuntu-latest needs: isdraft timeout-minutes: 10 steps: - name: Restore lychee cache uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 with: path: .lycheecache key: cache-lychee-${{ github.sha }} # This should restore from the most recent one: restore-keys: cache-lychee- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.1.0 (22. Sep 2023) - name: Lychee link checker uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # for v1.9.1 (10. Jan 2024) with: args: >- --config .config/lychee.toml --no-progress './**/*.rs' fail: true env: # To bypass GitHub rate-limit: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}