This action runs dprint check
on your source code and fails the build if something is not properly formatted.
- Checkout your repo.
- Run
dprint/check
action.
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dprint/check@v2.0
By default, dprint/check
uses the latest version of dprint.
To use a specific version, specify that with the dprint-version
input:
- uses: dprint/check@v2.0
with:
dprint-version: "0.17.0"