Skip to content

Link check runs on all languages #2247

@mgeisler

Description

@mgeisler

After merging #2195, I realized that mdbook-linkcheck runs on all languages. This is despite our best efforts in build.yml where we only install the tool on known-good languages:

- name: Install mdbook-linkcheck
# Opt-in for checking links in translations - add the language below.
if: contains(fromJSON('["en", ]'), matrix.language)
run: cargo install mdbook-linkcheck --locked --version 0.7.7

The problem is likely due to caching: while we only store the cache when building the English version, we use the cache for all languages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions