diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d2852670..2786a48a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,26 +88,12 @@ jobs: spell-check: runs-on: ubuntu-latest steps: - - name: Checkout Parent Repo - uses: actions/checkout@v3 - with: - ref: main - repository: aws/aws-iot-device-sdk-embedded-C - name: Clone This Repo uses: actions/checkout@v3 + - name: Run spellings check + uses: FreeRTOS/CI-CD-GitHub-Actions/rust-spell-check@CI-CD-Overhaul with: - path: tmp - - name: Install spell - run: | - sudo apt-get install spell - sudo apt-get install util-linux - - name: Check spelling - run: | - PATH=$PATH:$PWD/tools/spell - find-unknown-comment-words --directory tmp/ --lexicon tmp/tools/lexicon.txt - if [ $? -ne "0" ]; then - exit 1 - fi + path: ./ formatting: runs-on: ubuntu-latest