Skip to content

Commit

Permalink
T6678: check
Browse files Browse the repository at this point in the history
  • Loading branch information
kumvijaya authored Sep 12, 2024
1 parent fc4442c commit cde5ace
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ruff-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
- name: Install ruff
run: |
pip install ruff==0.0.47
pip install ruff==0.6.4
- name: Run ruff on changed files
run: |
CHANGED_FILES=$(echo '${{ steps.py-filter.outputs.python_files }}' | jq -r '.[]')
echo "CHANGED_FILES=$CHANGED_FILES"
if [ -n "$CHANGED_FILES" ]; then
ruff check '$CHANGED_FILES' --diff
ruff format '$CHANGED_FILES' --diff
ruff check --diff '$CHANGED_FILES'
ruff format --diff '$CHANGED_FILES'
else
echo "No Python files changed."
fi
Expand Down

0 comments on commit cde5ace

Please sign in to comment.