Skip to content

Commit

Permalink
Add GitHub action workflow (lint)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultduponchelle committed Jan 7, 2024
1 parent bcc4066 commit 8f3d53e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: '5.34'
install-modules-with: cpanm
- name: Lint files
run: |
perl -MO=Lint *.pm
perl -MO=Lint *.pl
perl -MO=Lint lessons/*.pm

0 comments on commit 8f3d53e

Please sign in to comment.