Skip to content

Commit

Permalink
Add separate args to ruff workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamStrickland committed Sep 13, 2024
1 parent 46e2f19 commit 1006e94
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ jobs:
ruff:
runs-on: macos-latest
steps:
- name: Lint/format with ruff
- name: Format
uses: chartboost/ruff-action@v1
with:
args:
- "format --check"
- "check --fix"
args: "format --check"

- name: Fix
uses: chartboost/ruff-action@v1
with:
args: "check --fix"
test:
runs-on: macos-latest
steps:
Expand Down

0 comments on commit 1006e94

Please sign in to comment.