From 28c9e0e3a044dadae766471b567c8f5fa968d84f Mon Sep 17 00:00:00 2001 From: Karim Lalani Date: Sat, 10 Jun 2023 23:44:13 -0500 Subject: [PATCH] chore: added codespell to github ci (#632) chore: added codespell from https://github.com/sayanarijit/xplr/commit/8cca2d35669316bb672da73944fdbd595746b098 to github ci chore: move spellcheck to out of testsuite fix: add missing checkout step to spellcheck exclude target move works to ignore to .codespellignore fix: typo add lua specific --- .codespellignore | 6 ++++++ .github/workflows/ci.yml | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .codespellignore diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 0000000..e786bfc --- /dev/null +++ b/.codespellignore @@ -0,0 +1,6 @@ +ratatui +crate +ser +enque +noice +ans diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f06b2f..8ebe8ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,6 +81,7 @@ jobs: toolchain: ${{ matrix.rust }} args: --target ${{ matrix.target }} + # bench: # name: Benchmarks # runs-on: ubuntu-latest @@ -128,3 +129,12 @@ jobs: with: command: clippy args: -- -D warnings + + spellcheck: + name: Spellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: codespell-project/actions-codespell@v1 + with: + ignore_words_file: .codespellignore