Skip to content

Commit 2ebc01a

Browse files
toddrclaude
andcommitted
ci: bump install-with-cpm to @v2 so old Perls install deps
The Modernize CI commit (db41601) pinned perl-actions/install-with-cpm@v1 (an April 2024 tag). With its default version: main, that tag downloads the latest cpm, which since cpm v0.999.0 requires Perl >= 5.24 (the "Lyon Amendment"). So the Install Dependencies step failed before tests ran on every Perl <= 5.22: Perl v5.24.0 required--this is only v5.22.4, stopped at cpm line 2. Upstream already fixed this in install-with-cpm v2.4 (PR perl-actions/ install-with-cpm#96): when version resolves to main, no checksum is set, and the perl is < 5.24, the action auto-substitutes cpm 0.998003 (the last pre-Lyon release); modern Perls keep getting the latest cpm. Bump all five Install Dependencies steps to @v2 to consume that fix. This restores the 5.8-5.22 matrix without freezing modern Perls onto an old cpm. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b5b60ca commit 2ebc01a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/testsuite.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: perl -V
2424
run: perl -V
2525
- name: Install Dependencies
26-
uses: perl-actions/install-with-cpm@v1
26+
uses: perl-actions/install-with-cpm@v2
2727
with:
2828
cpanfile: "cpanfile"
2929
- name: Makefile.PL
@@ -45,7 +45,7 @@ jobs:
4545
- name: perl -V
4646
run: perl -V
4747
- name: Install Dependencies
48-
uses: perl-actions/install-with-cpm@v1
48+
uses: perl-actions/install-with-cpm@v2
4949
with:
5050
cpanfile: "cpanfile"
5151
- name: Makefile.PL
@@ -90,7 +90,7 @@ jobs:
9090
- name: perl -V
9191
run: perl -V
9292
- name: Install Dependencies
93-
uses: perl-actions/install-with-cpm@v1
93+
uses: perl-actions/install-with-cpm@v2
9494
with:
9595
sudo: false
9696
cpanfile: "cpanfile"
@@ -115,7 +115,7 @@ jobs:
115115
- name: perl -V
116116
run: perl -V
117117
- name: Install Dependencies
118-
uses: perl-actions/install-with-cpm@v1
118+
uses: perl-actions/install-with-cpm@v2
119119
with:
120120
sudo: false
121121
cpanfile: "cpanfile"
@@ -141,7 +141,7 @@ jobs:
141141
- name: perl -V
142142
run: perl -V
143143
- name: Install Dependencies
144-
uses: perl-actions/install-with-cpm@v1
144+
uses: perl-actions/install-with-cpm@v2
145145
with:
146146
sudo: false
147147
cpanfile: "cpanfile"

0 commit comments

Comments
 (0)