From c17291eef6d08e09ce300f663e0ac131eadd5909 Mon Sep 17 00:00:00 2001 From: htrgouvea Date: Sat, 11 Nov 2023 18:16:09 -0300 Subject: [PATCH] test perl critic --- .github/workflows/linter.yml | 5 +++++ .perlcriticrc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/linter.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..04c8f91 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,5 @@ + - name: perlcritic + uses: gugod/actions-perlcritic@v1.0 + with: + paths: "lib t" + options: "-p .perlcriticrc" \ No newline at end of file diff --git a/.perlcriticrc b/.perlcriticrc index bb60a28..feaae88 100644 --- a/.perlcriticrc +++ b/.perlcriticrc @@ -1,2 +1,2 @@ only = 1 -include = RequireUseStrict ProhibitUnusedVariables \ No newline at end of file +include = ProhibitUnusedVariables ProhibitUnusedConstant ProhibitUnusedInclude ProhibitUnusedImport \ No newline at end of file