mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-17 16:38:54 +00:00
Add codespell. This identified a number of typos (#824)
* Add codespell. This identified a number of typos * Update codespell.yml Ignore docs/src/data/english-words.txt
This commit is contained in:
parent
587eece378
commit
0c3b61cfea
2 changed files with 35 additions and 0 deletions
0
.codespellignore
Normal file
0
.codespellignore
Normal file
35
.github/workflows/codespell.yml
vendored
Normal file
35
.github/workflows/codespell.yml
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
name: Codespell
|
||||
|
||||
# Documentation:
|
||||
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
|
||||
|
||||
# Start the job on all push #
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
# Set the Job #
|
||||
jobs:
|
||||
build:
|
||||
name: Codespell
|
||||
# Set the agent to run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Load all steps #
|
||||
steps:
|
||||
# Checkout the code base #
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2.4.0
|
||||
with:
|
||||
# Full git history is needed to get a proper list of changed files within `super-linter`
|
||||
fetch-depth: 0
|
||||
|
||||
# Run Linter against code base #
|
||||
- name: Codespell
|
||||
uses: codespell-project/actions-codespell@master
|
||||
with:
|
||||
check_filenames: true
|
||||
ignore_words_file: .codespellignore
|
||||
exclude_file: docs/src/data/english-words.txt
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue