Skip to content

Commit

Permalink
add linter
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Jan 28, 2024
1 parent 70b070a commit 6c53e3c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Linter / Perl Critic

on:
pull_request:
branches:
- main

jobs:
critic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Perl::Critic
uses: natanlao/[email protected]
with:
files: critic
3 changes: 3 additions & 0 deletions .perlcriticrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
severity = 5

[-TestingAndDebugging::RequireUseStrict]

0 comments on commit 6c53e3c

Please sign in to comment.