Skip to content

Fix copilot-setup-steps.yml to properly install Dist::Zilla and its plugins#9

Merged
davorg merged 2 commits intomasterfrom
copilot/ensure-dzil-requirements
Feb 24, 2026
Merged

Fix copilot-setup-steps.yml to properly install Dist::Zilla and its plugins#9
davorg merged 2 commits intomasterfrom
copilot/ensure-dzil-requirements

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 24, 2026

cpanm --installdeps --with-develop --notest . silently fails for Dist::Zilla projects — there is no META.json or Makefile.PL in the repo root (both are generated by dzil build), so cpanm has nothing to read.

Changes

  • Replace the single broken install step with the standard three-step Dzil bootstrap:
- name: Install Dist::Zilla
  run: cpanm --notest Dist::Zilla

- name: Install Dist::Zilla author dependencies
  run: dzil authordeps --missing | cpanm --notest

- name: Install application dependencies
  run: dzil listdeps --missing | cpanm --notest
  • authordeps installs all Dzil plugins declared in dist.ini ([@Classic], [PodWeaver], [@Git], [Test::Compile], etc.)
  • listdeps installs runtime/test prereqs (Plack::Runner, Config::Tiny, etc.) declared under [Prereqs]
Original prompt

This section details on the original issue you should resolve

<issue_title>Ensure .github/workflows/copilot-setup-steps.yml handles Dzil requirements</issue_title>
<issue_description>I know little about Dzil and I'm worried that the steps in .github/workflows/copilot-setup-steps.yml won't ensure we have all the correct Dzil plugins pre-installed. Please check and make the appropriate comments.</issue_description>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…ependencies

Co-authored-by: davorg <24642+davorg@users.noreply.github.com>
Copilot AI changed the title [WIP] Ensure copilot setup handles Dzil requirements Fix copilot-setup-steps.yml to properly install Dist::Zilla and its plugins Feb 24, 2026
Copilot AI requested a review from davorg February 24, 2026 12:33
@davorg davorg marked this pull request as ready for review February 24, 2026 12:34
@davorg davorg merged commit c9eed29 into master Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure .github/workflows/copilot-setup-steps.yml handles Dzil requirements

2 participants