ci: use cpanm for Perl matrix to fix 5.14-5.22 compat#30
Draft
Koan-Bot wants to merge 1 commit into
Draft
Conversation
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>
6 tasks
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Switch the Docker-based Perl matrix from
cpmtocpanmfor 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 — theperl-actions/install-with-cpm@v1action downloads the latestcpmfrommainbranch, which bumped its minimum Perl version.How
One-line change:
install-with-cpm→install-with-cpanmin the linux matrix job.cpanmsupports Perl 5.8+ and handlescpanfileinstallation identically. Theubuntujob (system Perl 5.38) keepscpmsince it works fine there.Testing
CI on this branch will validate: if 5.14–5.22 pass, the fix works.
🤖 Generated with Claude Code