Skip to content

Commit

Permalink
Merge branch 'master' into peternewman-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman authored Jun 9, 2020
2 parents ba475bf + 05adf77 commit 05ab9ab
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
Expand All @@ -41,12 +41,24 @@ jobs:
name: Test run action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: ./
with:
path: test/testdata
only_warn: 1

codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
check_filenames: true
check_hidden: true
# When using this Action in other repos, the --skip option below can be removed
skip: ./.git,./codespell-problem-matcher/test,./test

diagnose_bats:
name: Diagnose bats
runs-on: ubuntu-latest
Expand Down
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ description: 'Codespell with annotations for Pull Request'
inputs:
check_filenames:
description: 'If set, check file names as well'
requred: false
required: false
default: ''
check_hidden:
description: 'If set, check hidden files (those starting with ".") as well'
requred: false
required: false
default: ''
exclude_file:
description: 'File with lines that should not be checked for spelling mistakes'
requred: false
required: false
default: ''
skip:
description: 'Comma-separated list of files to skip (it accepts globs as well)'
requred: false
required: false
default: ''
path:
description: 'Path to run codespell in'
requred: false
required: false
default: ''
only_warn:
description: 'If set, only warn, never error'
requred: false
required: false
default: ''
runs:
using: 'docker'
Expand Down

0 comments on commit 05ab9ab

Please sign in to comment.