jonasbn / github-action-perl-dist-zilla

An experimental GitHub Action for Perl's Dist::Zilla

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-action-perl-dist-zilla

An experimental GitHub Action for Perl's Dist::Zilla

The action utilizes a Docker image based on Ebirah, offering easy access to a containerized version Dist::Zilla's dzil.

The action is very alpha software and Ebirah is very experimental.

Currently the implementation can be used for continuous integration (CI), more information below.

Inputs

dzil-arguments

Required the arguments to the dzil command. Default help, which displays a help message

Example usage

name: Dist::Zilla Action
on: push

jobs:
  dzil:
    runs-on: ubuntu-latest
    name: "dzil run"
    steps:
      - name: Check out repository
        uses: actions/checkout@v3
      - name: Installing dependencies and testing all using dzil
        uses: jonasbn/github-action-perl-dist-zilla@0.4.0
        with:
          dzil-arguments: 'test --all'

More examples are available here:

Running the GitHub Action Locally

It is possible to test the Docker image locally.

docker run --rm -v $PWD:/opt jonasbn/github-action-perl-dist-zilla help

Diagnostics

dzil authordeps only works on dist.ini files, and you don't have one

If you run the action in a repository or directory, which does not contain a dist.ini the message:

  • dzil authordeps only works on dist.ini files, and you don't have one

Will be emitted.

Make sure you are testing in a directory containing a dist.ini, which is a Dist::Zilla configuration file.

Acknowledgements

  • Ricardo Signes (@rjbs) author of Dist::Zilla
  • Alceu Rodrigues de Freitas Junior (@glasswalk3r) contributor to this repository
  • All of the Dist::Zilla plugin authors and Dist::Zilla contributors

Resources and References

  1. dzil.org
  2. MetaCPAN: Dist::Zilla
  3. GitHub: Ebirah
  4. DockerHub: Ebirah

License

This project is released under the MIT License, please see LICENSE file for details.

About

An experimental GitHub Action for Perl's Dist::Zilla

License:MIT License


Languages

Language:Shell 52.0%Language:Dockerfile 39.3%Language:Makefile 8.6%