Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- id: action
uses: perl-actions/perl-versions@v2
with:
since-perl: 5.10
since-perl: 5.14
with-devel: true

linux:
Expand All @@ -46,7 +46,7 @@ jobs:
- name: perl -V
run: perl -V
- name: Install dependencies
uses: perl-actions/install-with-cpm@v1
uses: perl-actions/install-with-cpm@v2
with:
sudo: false
global: false
Expand All @@ -71,8 +71,11 @@ jobs:
- name: perl -V
run: perl -V
- name: Install dependencies
run: |
curl -fsSL --compressed https://git.io/cpm | perl - install -g --cpanfile .github/cpanfile
uses: perl-actions/install-with-cpm@v2
with:
sudo: true
global: true
cpanfile: ".github/cpanfile"
- name: Makefile.PL
run: perl Makefile.PL
- name: make test
Expand All @@ -89,13 +92,15 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Set up Perl
run: |
choco install strawberryperl
echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $env:GITHUB_PATH
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: latest
- name: perl -V
run: perl -V
- name: Install dependencies
run: cpanm --notest --installdeps .
uses: perl-actions/install-with-cpm@v2
with:
cpanfile: ".github/cpanfile"
- name: Makefile.PL
run: perl Makefile.PL
- name: make test
Expand Down
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use strict;
use warnings;

use 5.010;
use 5.014;

use ExtUtils::MakeMaker;

Expand All @@ -14,7 +14,7 @@ my %WriteMakefileArgs = (
},
"DISTNAME" => "OpenStack-MetaAPI",
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.010",
"MIN_PERL_VERSION" => "5.014",
"NAME" => "OpenStack::MetaAPI",
"PREREQ_PM" => {
"JSON" => 0,
Expand Down
6 changes: 3 additions & 3 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ xt_mode = 1
[MetaJSON]

[MinimumPerlFast]
min = 5.010 ; undocumented config!
max = 5.010 ; undocumented config!
min = 5.014 ; OpenStack::Client requires 5.014
max = 5.014 ; OpenStack::Client requires 5.014

[MetaConfig]

Expand Down Expand Up @@ -59,7 +59,7 @@ URI::Encode = 0
[TestRelease]

[Test::MinimumVersion]
max_target_perl = 5.014
max_target_perl = 5.014 ; aligned with OpenStack::Client requirement

[@Git]
allow_dirty = Changes
Expand Down