Skip to content

Commit

Permalink
debug(test): add step to check versions of black and of ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroeverton217 committed Feb 12, 2025
1 parent e53afd6 commit 5fb1a4a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pipeline-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,19 @@ jobs:
- name: Run migrations
run: python API/manage.py migrate

- name: Check Black version
run: black --version

- name: Check Ruff version
run: ruff --version

- name: Run Black (formatação)
run: black --check .

- name: Run Ruff (linting)
run: ruff check .


- name: Post comment on PR if linting fails
if: failure()
uses: mshick/add-pr-comment@v2
Expand Down

0 comments on commit 5fb1a4a

Please sign in to comment.