Skip to content

Commit 6258503

Browse files
simbabqueoalders
authored andcommitted
Test::Deep now requires Perl 5.12 but we don't
This commit pins the version of Test::Deep we use in our CI to the last one that worked with 5.8, which is 1.130. Users shouldn't run into this problem because they wouldn't be able to update Test::Deep anyway and would likely already have it.
1 parent 3b4efbc commit 6258503

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build-and-test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ jobs:
9191
- "5.34"
9292
- "5.36"
9393
steps:
94+
- name: pin Test::Deep to 1.130 on Perl < 5.12
95+
if: ${{ matrix.perl-version == '5.8' || matrix.perl-version == '5.10' }}
96+
run: cpanm --notest Test::[email protected]
9497
- uses: actions/checkout@v3
9598
- uses: actions/download-artifact@v3
9699
with:
@@ -125,6 +128,9 @@ jobs:
125128
uses: shogo82148/actions-setup-perl@v1
126129
with:
127130
perl-version: ${{ matrix.perl-version }}
131+
- name: pin Test::Deep to 1.130 on Perl < 5.12
132+
if: ${{ matrix.perl-version == '5.8' || matrix.perl-version == '5.10' }}
133+
run: cpm install --global Test::[email protected]
128134
- uses: actions/download-artifact@v3
129135
with:
130136
name: build_dir
@@ -159,6 +165,9 @@ jobs:
159165
with:
160166
perl-version: ${{ matrix.perl-version }}
161167
distribution: strawberry # this option only used on Windows
168+
- name: pin Test::Deep to 1.130 on Perl < 5.12
169+
if: ${{ matrix.perl-version == '5.8' || matrix.perl-version == '5.10' }}
170+
run: cpm install --global Test::[email protected]
162171
- uses: actions/download-artifact@v3
163172
with:
164173
name: build_dir

0 commit comments

Comments
 (0)