Skip to content

Commit 1abdb7f

Browse files
authored
Upgrade link-checker cache to v4 (#7874)
Link-checker broke once more. To get it green, cache action needs to upgrade to v4
1 parent 28a7ae7 commit 1abdb7f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.config/lychee.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ exclude_all_private = true
1313
accept = [
1414
# Ok
1515
"200",
16-
1716
# Rate limited - GitHub likes to throw this.
1817
"429",
1918
]
@@ -27,7 +26,6 @@ exclude = [
2726
# Place holders (no need to fix these):
2827
"http://visitme/",
2928
"https://visitme/",
30-
3129
# TODO meta issue: <https://github.com/paritytech/polkadot-sdk/issues/134>
3230
"https://docs.substrate.io/main-docs/build/custom-rpc/#public-rpcs",
3331
"https://docs.substrate.io/rustdocs/latest/sp_api/macro.decl_runtime_apis.html",
@@ -48,18 +46,18 @@ exclude = [
4846
"https://w3f.github.io/parachain-implementers-guide/node/index.html",
4947
"https://w3f.github.io/parachain-implementers-guide/protocol-chain-selection.html",
5048
"https://w3f.github.io/parachain-implementers-guide/runtime/session_info.html",
51-
5249
# Behind a captcha (code 403):
5350
"https://chainlist.org/chain/*",
5451
"https://iohk.io/en/blog/posts/2023/11/03/partner-chains-are-coming-to-cardano/",
5552
"https://polymesh.network",
5653
"https://www.reddit.com/r/rust/comments/3spfh1/does_collect_allocate_more_than_once_while/",
57-
5854
# 403 rate limited:
5955
"https://etherscan.io/block/11090290",
6056
"https://subscan.io/",
6157
"https://substrate.stackexchange.com/.*",
62-
58+
# Broken for link-checker CI, but works in browser and local machine
59+
"http://www.gnu.org/licenses/",
60+
"https://www.gnu.org/licenses/",
6361
# Exclude strings which contain templates like {} and {:?}
6462
"%7B%7D",
6563
"%7B:\\?}",

.github/workflows/check-links.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
timeout-minutes: 10
2727
steps:
2828
- name: Restore lychee cache
29-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v3.3.2 (7. Sep 2023)
29+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 (12. March 2025)
3030
with:
3131
path: .lycheecache
3232
key: cache-lychee-${{ github.sha }}

0 commit comments

Comments
 (0)