Skip to content

Commit

Permalink
[CI] extend the linting flow.
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed Mar 16, 2021
1 parent 3c770a5 commit c2a0689
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,23 @@ name: CI
on: pull_request

jobs:
perlcritic:
lint:
runs-on: ubuntu-latest
container:
image: perl:5.32
steps:
- uses: actions/checkout@v2
- name: perlcritic
uses: gugod/actions-perlcritic@fun
- uses: gugod/action-perlcritic@fun
with:
directory: "lib script t dev-bin"
- name: install perlnitpick
run: cpanm --notest --quiet https://github.com/gugod/App-PerlNitpick.git
- name: run perlnitpick
run: perlnitpick --inplace --rules=RemoveTrailingWhitespace,RemoveUnusedVariables,RemoveUnusedInclude,RemoveUnusedImport .
- name: suggester
uses: reviewdog/action-suggester@v1
with:
tool_name: perlnitpick

yath:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit c2a0689

Please sign in to comment.