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.
Required the arguments to the dzil
command. Default help
, which displays a help message
dzil
has a --verbose
option, which can be used to get more information on the execution of the command.
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.5.0
with:
dzil-arguments: 'test --all'
More examples are available here:
It is possible to test the Docker image locally.
docker run --rm -v $PWD:/opt jonasbn/github-action-perl-dist-zilla help
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.
- 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
This project is released under the MIT License, please see LICENSE file for details.