Skip to content

Commit 38ddf57

Browse files
authored
Merge pull request #201 from pillo79/pr-fix-format-check-v2
format_check: fix it again
2 parents c1fea19 + 22bff94 commit 38ddf57

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/format_check.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ jobs:
3737
libraries/examples/**
3838
libraries/extras/**
3939
libraries/ea_malloc/**
40-
write_output_files: true
41-
- name: List changed files
40+
json: true
41+
- name: Export changed files in a text file, one per line
4242
if: steps.changed-files.outputs.any_changed == 'true'
43-
run: cat .github/outputs/all_changed_files.txt
43+
run: |
44+
echo ${{ steps.changed-files.outputs.all_changed_files }} | jq -r '.[]' > all_changed_files.txt
45+
cat all_changed_files.txt
4446
- name: Run clang-format check
4547
if: steps.changed-files.outputs.any_changed == 'true'
4648
uses: pillo79/clang-format-action@05f671e71f0758aba4d3c9dbb0ee81bc5f0137c6
4749
with:
4850
clang-format-version: '19'
49-
check-files-from: .github/outputs/all_changed_files.txt
51+
check-files-from: all_changed_files.txt

0 commit comments

Comments
 (0)