File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 2222# - https://github.com/andstor/file-existence-action
2323# - https://github.com/codecov/codecov-action
2424# - https://github.com/codecov/test-results-action
25+ # - https://github.com/dprint/check
2526# - https://github.com/flex-development/grease
2627# - https://github.com/hmarr/debug-action
2728# - https://github.com/streetsidesoftware/cspell-action
@@ -171,9 +172,16 @@ jobs:
171172 with :
172173 key : ${{ needs.preflight.outputs.cache-key }}
173174 path : ${{ env.CACHE_PATH }}
174- - id : format
175- name : Check code formatting
176- run : yarn check:format
175+ - id : version
176+ name : Get dprint version
177+ run : echo "result=$(jq .devDependencies.dprint package.json -r)" >>$GITHUB_OUTPUT
178+ - id : check
179+ name : Check formatting
180+ 181+ with :
182+ args : --config-discovery=false --incremental=false --log-level=info
183+ config-path : .dprint.jsonc
184+ dprint-version : ${{ steps.version.outputs.result }}
177185 lint :
178186 needs :
179187 - commitlint
You can’t perform that action at this time.
0 commit comments