Skip to content

Commit bd135ff

Browse files
Merge pull request #699 from pyupio/ci/proper-parsing-args
ci: add proper parsing for hatch lint
2 parents c46cc88 + f688481 commit bd135ff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ jobs:
8989
- name: Run style and typing checks
9090
if: steps.check-files.outputs.should_check == 'true'
9191
run: |
92-
echo "Running checks on files: ${{ steps.check-files.outputs.files }}"
93-
hatch run lint:all ${{ steps.check-files.outputs.files }}
92+
FILES=$(echo "${{ steps.check-files.outputs.files }}" | tr '\n' ' ')
93+
echo "Running checks on files: ${FILES}"
94+
hatch run lint:all ${FILES}
9495
9596
matrix:
9697
if: ${{ always() }}

0 commit comments

Comments
 (0)