From e131b53fdfd062699766012165cb2859ffd596ec Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 8 Mar 2023 13:15:40 +1100 Subject: [PATCH] github/workflows: Add spell check to code formatting workflow. Signed-off-by: Damien George --- .github/workflows/code_formatting.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code_formatting.yml b/.github/workflows/code_formatting.yml index 542edd46cf..81a2715f1b 100644 --- a/.github/workflows/code_formatting.yml +++ b/.github/workflows/code_formatting.yml @@ -7,7 +7,7 @@ concurrency: cancel-in-progress: true jobs: - build: + code-formatting: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 @@ -18,3 +18,13 @@ jobs: run: source tools/ci.sh && ci_code_formatting_run - name: Check code formatting run: git diff --exit-code + + code-spelling: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + - name: Install packages + run: source tools/ci.sh && ci_code_spell_setup + - name: Run spell checker + run: source tools/ci.sh && ci_code_spell_run