From d0384edf6698d33c0b40e3ca994c03a7352c47cd Mon Sep 17 00:00:00 2001 From: Soren Ptak Date: Sun, 20 Aug 2023 22:59:01 -0700 Subject: [PATCH] Wasn't using the right spell check --- .github/workflows/ci.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) 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