Skip to content

Commit

Permalink
added perl linting workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fischl <[email protected]>
  • Loading branch information
antonfischl1980 committed Apr 1, 2022
1 parent 2370248 commit dff3eb3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/perlcritic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Perl Lint

on:
push:
pull_request:
workflow_dispatch:

jobs:
perl lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install perlcritic
run: |
sudo apt-get update && sudo apt-get install -y libperl-critic-perl
- name: perlcritic
run: |
perlcritic --color *.pl

0 comments on commit dff3eb3

Please sign in to comment.