Skip to content

ci: use cpanm for Perl matrix to fix 5.14-5.22 compat#30

Draft
Koan-Bot wants to merge 1 commit into
masterfrom
koan.atoomic/fix-ci-cpm-perl-compat
Draft

ci: use cpanm for Perl matrix to fix 5.14-5.22 compat#30
Koan-Bot wants to merge 1 commit into
masterfrom
koan.atoomic/fix-ci-cpm-perl-compat

Conversation

@Koan-Bot

@Koan-Bot Koan-Bot commented May 1, 2026

Copy link
Copy Markdown
Collaborator

What

Switch the Docker-based Perl matrix from cpm to cpanm for dependency installation.

Why

cpm (App::cpm) now requires Perl 5.24+, which breaks CI for Perl 5.14–5.22 in the matrix. This is a recent upstream change — the perl-actions/install-with-cpm@v1 action downloads the latest cpm from main branch, which bumped its minimum Perl version.

How

One-line change: install-with-cpminstall-with-cpanm in the linux matrix job. cpanm supports Perl 5.8+ and handles cpanfile installation identically. The ubuntu job (system Perl 5.38) keeps cpm since it works fine there.

Testing

CI on this branch will validate: if 5.14–5.22 pass, the fix works.


🤖 Generated with Claude Code

cpm now requires Perl 5.24+, breaking CI for older Perl versions
in the Docker-based matrix. cpanm supports Perl 5.8+ and handles
cpanfile installation identically.

The ubuntu job (system Perl 5.38) keeps cpm since it works fine there.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Koan-Bot

Koan-Bot commented May 4, 2026

Copy link
Copy Markdown
Collaborator Author

Note: this change is already included in PR #17 (ci: test Perl 5.10+), which also adds the 5.10–5.12 version range to the matrix. If #17 is merged, this PR becomes redundant and can be closed.

🤖 Kōan triage note

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.

1 participant