Skip to content

Commit

Permalink
without sed
Browse files Browse the repository at this point in the history
  • Loading branch information
ScDor committed Jan 5, 2024
1 parent 401cc95 commit c9dad6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/adopt_ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ jobs:

- name: Parse Ruff violations
id: ruff_output
run: |
poetry run ruff . --output-format=json --select=ALL --exit-zero | sed -n '/\[/,//p' > violations.json
cat violations.json
run: poetry run ruff . --output-format=json --select=ALL --exit-zero > violations.json

- name: Validate json files
uses: GrantBirki/json-yaml-validate@v2.6.0
Expand Down

0 comments on commit c9dad6f

Please sign in to comment.