Skip to content

Add the pull-request check named format #18

Description

@iderex

Formatting arguments cost more than formatting. One formatter, one configuration
in the tree, and a check that refuses a diff.

There is a Windows-specific trap worth writing into the configuration now rather
than after somebody loses an afternoon to it. A formatter whose default line
ending is lf, run in a checkout made under core.autocrlf=true, reports every
tracked text file as failing on a tree with no modifications at all, and a real
formatting defect becomes indistinguishable from that noise.

Done when

A workflow exists whose check-run name is exactly format, it fails when the
formatter would change any tracked file, the configuration lives in the tree, and
a contributor on Windows running the documented command against a clean checkout
gets a clean result. Blocked on #99.

Metadata

Metadata

Assignees

Labels

blocked-on-issueWaits on another open issue on this boardci

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions