Skip to content

Commit

Permalink
Use Typos as spellchecker (#13)
Browse files Browse the repository at this point in the history
* Use Typos as spellchecker

* Delete .codespellrc
  • Loading branch information
szepeviktor authored Oct 12, 2023
1 parent 3b9ed5f commit e347985
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
6 changes: 0 additions & 6 deletions .codespellrc

This file was deleted.

21 changes: 5 additions & 16 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name: "Spelling"

on: # yamllint disable-line rule:truthy
on:
pull_request: null
push:
branches:
Expand All @@ -17,25 +17,14 @@ concurrency:
cancel-in-progress: true

jobs:
spell_check:
name: "文A Spell check"
typos_check:
name: "文A Typos"
runs-on: "ubuntu-22.04"
timeout-minutes: 1
steps:
-
name: "Checkout repository"
uses: "actions/checkout@v3"
-
name: "Cache pip"
uses: "actions/cache@v3"
with:
path: "~/.cache/pip"
key: "${{ runner.os }}-pip-codespell"
-
name: "Install codespell"
run: |
pip install --user 'codespell>=2.2'
uses: "actions/checkout@v4"
-
name: "Search for misspellings"
run: |
"$(python -m site --user-base)/bin/codespell"
uses: "crate-ci/typos@master"

0 comments on commit e347985

Please sign in to comment.