Skip to content

add initial support for Cpn objects due to pkgcraft changes #146

add initial support for Cpn objects due to pkgcraft changes

add initial support for Cpn objects due to pkgcraft changes #146

Workflow file for this run

name: lint
on:
push:
branches: ['**']
paths:
- "**/*.pl"
- "**/*.pm"
- "**/*.t"
- ".github/workflows/lint.yml"
pull_request:
branches: [main]
paths:
- "**/*.pl"
- "**/*.pm"
- "**/*.t"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Perl
uses: shogo82148/actions-setup-perl@v1
id: perl
with:
perl-version: 5
install-modules-with: cpanm
install-modules-args: -n
install-modules: Perl::Tidy
- name: Run perltidy
shell: bash
run: |
shopt -s extglob globstar nullglob
perltidy -b -bext='/' lib/**/*.p[lm] t/**/*.t && git diff --exit-code