diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 13ea29be1..500dff396 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -7,13 +7,14 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: chartboost/ruff-action@v1 - - run: | - ruff check . - ruff fix . - - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: 'style fixes by ruff' + - uses: actions/checkout@v4 + - uses: actions/setup-python@v2 + - uses: chartboost/ruff-action@v1 + with: + args: --check . + fix_args: --fix . + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: 'style fixes by ruff' \ No newline at end of file