10 runs-on: ubuntu-latest
12 - name: Checkout Parent Repo
13 uses: actions/checkout@v2
16 repository: aws/aws-iot-device-sdk-embedded-C
18 - name: Clone This Repo
19 uses: actions/checkout@v2
24 sudo apt-get install spell
25 sudo apt-get install util-linux
26 - name: Check spelling
28 PATH=$PATH:main/tools/spell
29 # Make sure that the portable directory is not included in the spellcheck.
30 sed -i 's/find $DIRNAME/find $DIRNAME -not -path '*portable*'/g' main/tools/spell/find-unknown-comment-words
31 find-unknown-comment-words --directory kernel/ --lexicon ./kernel/.github/lexicon.txt
32 if [ "$?" = "0" ]; then
38 runs-on: ubuntu-latest
40 - uses: actions/checkout@v2
41 - name: Install Uncrustify
42 run: sudo apt-get install uncrustify
43 - name: Run Uncrustify
46 find . \( -name portable \) -prune -false -o -iname "*.[hc]" -exec uncrustify --check -c .github/uncrustify.cfg {} +
47 - name: Check For Trailing Whitespace
50 grep --exclude="README.md" --exclude-dir="portable" -rnI -e "[[:blank:]]$" .
51 if [ "$?" = "0" ]; then
52 echo "Files have trailing whitespace."
59 runs-on: ubuntu-latest
61 - name: Clone This Repo
62 uses: actions/checkout@v2
67 bash kernel/.github/actions/url_verifier.sh kernel