mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 00:45:47 +00:00
36 lines
898 B
YAML
36 lines
898 B
YAML
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
|
|
exclude_file: docs/src/data/colours.csv
|
|
|