Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

natanlao/perl-critic-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perl::Critic GitHub Action

What it does

Runs Perl::Critic using Docker and outputs annotations. You can tweak what to criticize in your .perltidyrc.

Example usage

GitHub Actions

In your workflow file:

on: [push]

jobs:
  critic:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Run Perl::Critic
      uses: natanlao/perl-critic-action@v1.1
      with:
        files: critic

Locally

If you wanted to, you could run the image that backs this Action locally:

$ docker run -v $PWD:/tmp/workspace ghcr.io/natanlao/critic:latest

Files and directories can be specified as arguments. No arguments implies the current directory.

Options

input.files

Space-separated list of files to examine. If not provided, defaults to all Perl files in the current directory.

Acknowledgements

Forked from JaSei/docker-perl_critic.

About

Perl::Critic for GitHub Actions

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Perl 78.7%
  • Dockerfile 21.3%