File tree Expand file tree Collapse file tree 1 file changed +4
-24
lines changed Expand file tree Collapse file tree 1 file changed +4
-24
lines changed Original file line number Diff line number Diff line change @@ -197,30 +197,10 @@ jobs:
197197 runs-on : ubuntu-20.04
198198 steps :
199199 - uses : actions/checkout@v2
200- - name : Install Uncrustify
201- run : sudo apt-get install uncrustify
202- - name : Check Formatting With Uncrustify
203- run : find . -iname "*.[hc]" -exec uncrustify --check -c tools/uncrustify.cfg {} +
204- - name : Check For Trailing Whitespace
205- run : |
206- set +e
207- grep --exclude="README.md" -rnI -e "[[:blank:]]$" .
208- if [ "$?" = "0" ]; then
209- echo "Files have trailing whitespace."
210- exit 1
211- else
212- exit 0
213- fi
214- - name : Check for CRLF
215- run : |
216- set +e
217- find . -path ./.git -prune -o -exec file {} + | grep "CRLF"
218- if [ "$?" = "0" ]; then
219- echo "Files have CRLF line endings."
220- exit 1
221- else
222- exit 0
223- fi
200+ - name : Check formatting
201+ uses : FreeRTOS/CI-CD-Github-Actions/formatting@main
202+ with :
203+ path : ./
224204 doxygen :
225205 runs-on : ubuntu-latest
226206 steps :
You can’t perform that action at this time.
0 commit comments