Skip to content

Commit 575eea0

Browse files
toddrclaude
andcommitted
ci: quote since-perl value so YAML doesn't drop trailing zero
`since-perl: 5.10` was being parsed by YAML as the float 5.1, so the perl-actions/perl-versions matrix expansion produced "every version since 5.1" — which included Perl 5.8 (the version after 5.6, before 5.10). That's why CI on PR #61 ran a Perl 5.8 job and failed on `//` (the defined-or operator added in 5.10), despite the project declaring MIN_PERL_VERSION 5.010 in Makefile.PL and CLAUDE.md. Quoting the value forces YAML to keep it as the string "5.10", and the action filters correctly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5c29e8a commit 575eea0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/testsuite.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ jobs:
6363
- id: action
6464
uses: perl-actions/perl-versions@v1
6565
with:
66-
since-perl: 5.10
66+
# Quoted so YAML doesn't parse 5.10 as the float 5.1 (which would
67+
# include Perl 5.8). Project declares MIN_PERL_VERSION 5.010.
68+
since-perl: "5.10"
6769
with-devel: true
6870

6971
linux:

0 commit comments

Comments
 (0)