miller/.github/workflows/codespell.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 38: cannot unmarshal !!seq into string
2022-01-03 22:33:39 -05:00

40 lines
1 KiB
YAML

name: Codespell
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
# Start the job on all pushes
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Set the Job
jobs:
build:
name: Codespell
# Set the agent to run on
runs-on: ubuntu-latest
# Load all steps
steps:
# Check out the code base
- name: Check out 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
# This simply does not work despite multiple attempts:
# skip: "*.csv","*.txt"
skip:
- docs/src/data/english-words.txt
- docs/src/ngrams/gsl-2000.txt
- "test/cases/**/*"