Continuous Integration (CI)

You may desire to run dprint check as a step on your CI to ensure the code is formatted.

GitHub Action

See dprint/check:


It is easy to get dprint working on a CI by running the install script then dprint check.

For example:

# replace X.X.X with the version of dprint to use
curl -fsSL | sh -s X.X.X > /dev/null 2>&1
$HOME/.dprint/bin/dprint check