File tree Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Original file line number Diff line number Diff line change 2222 default : ' warning'
2323
2424jobs :
25- filter -format :
25+ verify -format :
2626 runs-on : ubuntu-latest
27- outputs :
28- any_changed : ${{ steps.changed-files.outputs.any_changed }}
2927 steps :
28+ - name : Checkout code
29+ uses : actions/checkout@v4
30+ with :
31+ submodules : false
32+ persist-credentials : false
33+ clean : false # preserve the files created by the previous job
3034 - name : Get changed source files that need format check
3135 id : changed-files
3236 uses : tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
@@ -42,24 +46,11 @@ jobs:
4246 libraries/extras/**
4347 libraries/ea_malloc/**
4448 write_output_files : true
45- - name : List of changed files
49+ - name : List changed files
4650 if : steps.changed-files.outputs.any_changed == 'true'
4751 run : cat .github/outputs/all_changed_files.txt
48-
49- verify-format :
50- runs-on : ubuntu-latest
51- needs :
52- - filter-format
53- if : needs.filter-format.outputs.any_changed
54- steps :
55- - name : Checkout code
56- uses : actions/checkout@v4
57- with :
58- submodules : false
59- persist-credentials : false
60- clean : false # preserve the files created by the previous job
61-
6252 - name : Run clang-format check
53+ if : steps.changed-files.outputs.any_changed == 'true'
6354 uses : pillo79/clang-format-action@main
6455 with :
6556 clang-format-version : ' 19'
You can’t perform that action at this time.
0 commit comments