ci: add diff to lint ci

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
pull/17874/head
yihong0618 1 year ago
parent 7ee5cc80a2
commit 0886185012

@ -41,8 +41,8 @@ jobs:
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'
run: | run: |
poetry run -C api ruff --version poetry run -C api ruff --version
poetry run -C api ruff check ./ poetry run -C api ruff check ./ --diff
poetry run -C api ruff format --check ./ poetry run -C api ruff format --check ./ --diff
- name: Dotenv check - name: Dotenv check
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'

Loading…
Cancel
Save