mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 18:54:58 +00:00
4e55d557eb
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
33 lines
857 B
YAML
33 lines
857 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@v3
|
|
|
|
- name: pip cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: ~/.cache/pip
|
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
|
restore-keys: ${{ runner.os }}-pip-
|
|
|
|
- name: Install prerequisites
|
|
run: sudo pip install -r ./.codespell/requirements.txt
|
|
|
|
- name: Spell check
|
|
run: codespell --config=./.codespell/.codespellrc
|