Apply suggestions from code review #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Spellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install typos | |
uses: taiki-e/install-action@cd5df4de2e75f3b819ba55f780f7bb8cd4a05a41 # v2.32.2 | |
with: | |
tool: typos | |
- name: Spell check | |
run: typos --config=./.config/typos.toml |