mirror of
https://github.com/bitcoin/bips.git
synced 2026-03-09 15:53:54 +00:00
ci: add typo checking
typos is a powerful source code spell checker. Adds a CI job that runs on every PR and push to master (but can also be run manually with workflow_dispatch) that checks for typos. Adds a config file .typos.toml that deals with false positives and only checks for top-level/one-level .mediawiki and .md files.
This commit is contained in:
9
.github/workflows/github-action-checks.yml
vendored
9
.github/workflows/github-action-checks.yml
vendored
@@ -20,3 +20,12 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- run: scripts/diffcheck.sh
|
||||
Typo-Checks:
|
||||
name: "Typo Checks"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Actions Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check spelling
|
||||
uses: crate-ci/typos@master
|
||||
|
||||
Reference in New Issue
Block a user