Skip to content

ci/treefmt: add markdown-code-runner#431234

Merged
wolfgangwalther merged 1 commit into
NixOS:release-25.05from
wolfgangwalther:ci-treefmt-mdcr-25.05
Aug 5, 2025
Merged

ci/treefmt: add markdown-code-runner#431234
wolfgangwalther merged 1 commit into
NixOS:release-25.05from
wolfgangwalther:ci-treefmt-mdcr-25.05

Conversation

@wolfgangwalther

Copy link
Copy Markdown
Contributor

Manual backport of #427460.

This was run as a test in `doc/tests/check-nix-code-blocks.nix` before,
but its DX can be improved: By including it in `treefmt` we get better
error reporting and auto-fixing, as well as running it on *all* markdown
files (including READMEs etc.) for free.

(cherry picked from commit a7b3b25)
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 4.workflow: backport This targets a stable branch 8.has: documentation This PR adds or changes documentation labels Aug 5, 2025
@wolfgangwalther wolfgangwalther merged commit 220fc56 into NixOS:release-25.05 Aug 5, 2025
28 checks passed
@wolfgangwalther wolfgangwalther deleted the ci-treefmt-mdcr-25.05 branch August 5, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants