diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1c4253b62d..3228af3d1f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -731,6 +731,10 @@ jobs: with: persist-credentials: false - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2 + - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + with: + node-version: 22 - name: "Cache pre-commit" uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 with: diff --git a/.markdownlint.yaml b/.markdownlint.yaml index ca458564d8..a361d0ab68 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -29,3 +29,7 @@ MD024: # # Ref: https://github.com/astral-sh/ruff/pull/15011#issuecomment-2544790854 MD046: false + +# Link text should be descriptive +# Disallows link text like *here* which is annoying. +MD059: false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 39bf437f23..68cf34f606 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: )$ - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.44.0 + rev: v0.45.0 hooks: - id: markdownlint-fix exclude: | @@ -80,7 +80,7 @@ repos: pass_filenames: false # This makes it a lot faster - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.9 + rev: v0.11.10 hooks: - id: ruff-format - id: ruff diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aab1ed1e72..e8c4ece6f0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -610,8 +610,7 @@ Then convert the recorded profile perf script -F +pid > /tmp/test.perf ``` -You can now view the converted file with [firefox profiler](https://profiler.firefox.com/), with a -more in-depth guide [here](https://profiler.firefox.com/docs/#/./guide-perf-profiling) +You can now view the converted file with [firefox profiler](https://profiler.firefox.com/). To learn more about Firefox profiler, read the [Firefox profiler profiling-guide](https://profiler.firefox.com/docs/#/./guide-perf-profiling). An alternative is to convert the perf data to `flamegraph.svg` using [flamegraph](https://github.com/flamegraph-rs/flamegraph) (`cargo install flamegraph`):