From 1d492aa481c19f46ae1f5496a5d2e5bd191e1821 Mon Sep 17 00:00:00 2001 From: aviadingo Date: Mon, 30 Dec 2024 13:38:51 +0200 Subject: [PATCH] added spell check to unified CI --- .github/workflows/{ => OLD}/codespell.yml | 0 .github/workflows/cpp-golang-rust.yml | 13 +++++++++++++ 2 files changed, 13 insertions(+) rename .github/workflows/{ => OLD}/codespell.yml (100%) diff --git a/.github/workflows/codespell.yml b/.github/workflows/OLD/codespell.yml similarity index 100% rename from .github/workflows/codespell.yml rename to .github/workflows/OLD/codespell.yml diff --git a/.github/workflows/cpp-golang-rust.yml b/.github/workflows/cpp-golang-rust.yml index 3625ec704..689bb4ff1 100644 --- a/.github/workflows/cpp-golang-rust.yml +++ b/.github/workflows/cpp-golang-rust.yml @@ -13,6 +13,19 @@ concurrency: cancel-in-progress: true jobs: + + spelling-checker: + name: Check Spelling + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: codespell-project/actions-codespell@v2 + with: + # https://github.com/codespell-project/actions-codespell?tab=readme-ov-file#parameter-skip + skip: ./**/target,./**/build,./docs/*.js,./docs/*.json,./*.svg + # https://github.com/codespell-project/actions-codespell?tab=readme-ov-file#parameter-ignore_words_file + ignore_words_file: .codespellignore + check-changed-files: uses: ./.github/workflows/check-changed-files.yml