Skip to content

ci: add mdformat check; fix README table alignment#98

Merged
fryorcraken merged 3 commits into
add-zcash-swapfrom
ci-mdformat-check
Jun 16, 2026
Merged

ci: add mdformat check; fix README table alignment#98
fryorcraken merged 3 commits into
add-zcash-swapfrom
ci-mdformat-check

Conversation

@fryorcraken

@fryorcraken fryorcraken commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

What

  • Adds .github/workflows/mdformat.yml — a CI workflow that runs mdformat --check . on every PR and on pushes to master, using the repo's .mdformat.toml (number = true, wrap = 80).
  • Fixes the README RFP table, whose column alignment had drifted (over-padded closed cells and a cramped Closed| cell).

Why

There was no CI guard on Markdown formatting, so malformed Markdown could reach the default branch — which is exactly how the README table misalignment landed. This adds the gate and fixes the existing breakage so the branch is green.

Notes

  • The workflow installs mdformat mdformat-gfm mdformat-frontmatter — the same toolchain the README documents. The GFM plugin is required for table support; bare mdformat lacks it and mangles every table-containing file.
  • The check runs on all PRs (no paths filter) since this is a Markdown repo, plus pushes to master.
  • Uses actions/checkout@v6 and actions/setup-python@v6 (Node 24).
  • Run mdformat . locally to auto-fix any future failures.
  • Only the table alignment changed in the README; statuses, links, and the table's column set are untouched.

🤖 Generated with Claude Code

fryorcraken and others added 3 commits June 16, 2026 12:24
Add a PR workflow that runs `mdformat --check .` against .mdformat.toml so
malformed Markdown can no longer reach the default branch. Also re-format
the README RFP table, whose column alignment had drifted.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Install mdformat-gfm and mdformat-frontmatter so CI uses the same
formatter the README documents. Bare mdformat lacks GFM table support
and mangles every table-containing file, so the check could never pass.

Also drop the pull_request paths filter; this is a Markdown repo, so run
the check on every PR.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Clears the Node 20 deprecation warning; both v6 majors run on Node 24.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@fryorcraken fryorcraken merged commit beb5fa4 into add-zcash-swap Jun 16, 2026
1 check passed
@fryorcraken fryorcraken deleted the ci-mdformat-check branch June 16, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant