mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 03:33:28 +00:00
26 lines
617 B
YAML
26 lines
617 B
YAML
|
# A CI action that using codespell to check spell.
|
||
|
# .github/.codespellrc is a config file.
|
||
|
# .github/wordlist.txt is a list of words that will ignore word checks.
|
||
|
# More details please check the following link:
|
||
|
# https://github.com/codespell-project/codespell
|
||
|
name: Spellcheck
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: Spellcheck
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout repository
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Install prerequisites
|
||
|
run: sudo pip install codespell==2.0.0
|
||
|
|
||
|
- name: Spell check
|
||
|
run: codespell --config=./.github/.codespellrc
|