Skip to content

Enable perlcritic checks in CI #17

Enable perlcritic checks in CI

Enable perlcritic checks in CI #17

Workflow file for this run

---
name: perlcritic
on: [push, pull_request]
jobs:
perlcritic_checks:
runs-on: ubuntu-latest
container:
image: registry.opensuse.org/devel/openqa/containers/os-autoinst_dev
steps:
- uses: actions/checkout@v4
- name: Static analysis
run: |
git config --global --add safe.directory '*'
./external/os-autoinst-common/tools/perlcritic --quiet $(git ls-files -- '*.p[ml]')