diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..1bc1e02 --- /dev/null +++ b/.github/workflows/linter.yml @@ -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/perl-critic-action@v1.1 + with: + files: critic \ No newline at end of file diff --git a/.perlcriticrc b/.perlcriticrc new file mode 100644 index 0000000..8fe04ee --- /dev/null +++ b/.perlcriticrc @@ -0,0 +1,3 @@ +severity = 5 + +[-TestingAndDebugging::RequireUseStrict] \ No newline at end of file