From 60137cbb199a40c08153559797d4d4589d290893 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 22 Oct 2020 02:05:37 -0700 Subject: [PATCH] Add CI workflow to check for commonly misspelled words --- .github/workflows/spell-check.yml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/spell-check.yml diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml new file mode 100644 index 000000000..68e9dfc24 --- /dev/null +++ b/.github/workflows/spell-check.yml @@ -0,0 +1,33 @@ +name: Spell Check + +on: + pull_request: + push: + schedule: + # Run every Tuesday at 03:00 UTC to catch breakage caused by updates to the dictionary + - cron: "0 3 * * 2" + +jobs: + spellcheck: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Install Python + uses: actions/setup-python@v2 + with: + python-version: "3.8" + + - name: Install Poetry + run: pip install poetry + + - name: Install Taskfile + uses: arduino/actions/setup-taskfile@master + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + version: 3.x + + - name: Spell check + run: task check-spelling