From 8fb7faed6d62eebba6e866d6001eadb8a003f176 Mon Sep 17 00:00:00 2001 From: Reiley Yang Date: Wed, 18 Mar 2020 20:31:03 -0700 Subject: [PATCH 1/3] add spellcheck CI --- .github/workflows/spellcheck.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/spellcheck.yml diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 0000000000..73a6cc777b --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,29 @@ +name: spellcheck + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: check out code + uses: actions/checkout@v2 + + - name: install misspell + run: | + curl -L -o ./install-misspell.sh https://git.io/misspell + sh ./install-misspell.sh + + - name: run misspell + run: | + ./bin/misspell -error ./**/*.h + ./bin/misspell -error ./**/*.cc + ./bin/misspell -error ./**/*.cmd + ./bin/misspell -error ./**/*.md + ./bin/misspell -error ./**/*.sh + ./bin/misspell -error ./**/*.txt From 2bd95bf2660f03f2a9e05c8d0dcca38c3b95fd10 Mon Sep 17 00:00:00 2001 From: Reiley Yang Date: Wed, 18 Mar 2020 20:31:26 -0700 Subject: [PATCH 2/3] remove stale TBDs --- cmake/TBD | 0 docs/TBD | 0 2 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake/TBD delete mode 100644 docs/TBD diff --git a/cmake/TBD b/cmake/TBD deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/TBD b/docs/TBD deleted file mode 100644 index e69de29bb2..0000000000 From 6fc836d2757ad558682b2c84451d1e1aac9b887f Mon Sep 17 00:00:00 2001 From: Reiley Yang Date: Wed, 18 Mar 2020 20:40:31 -0700 Subject: [PATCH 3/3] run spell check against all files --- .github/workflows/spellcheck.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 73a6cc777b..50ee569709 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -21,9 +21,4 @@ jobs: - name: run misspell run: | - ./bin/misspell -error ./**/*.h - ./bin/misspell -error ./**/*.cc - ./bin/misspell -error ./**/*.cmd - ./bin/misspell -error ./**/*.md - ./bin/misspell -error ./**/*.sh - ./bin/misspell -error ./**/*.txt + ./bin/misspell -error ./**/*