Skip to content

Commit 5cc5e49

Browse files
authored
Merge pull request #10 from kfly8/fixed
Fixed deps and CI
2 parents b32babc + 4a177af commit 5cc5e49

3 files changed

Lines changed: 51 additions & 32 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
1-
name: Test pau
2-
on: [ push ]
1+
name: test
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
37
jobs:
4-
Test-pau:
8+
build:
59
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
perl:
13+
[
14+
"5.42",
15+
"5.40",
16+
"5.38",
17+
"5.36",
18+
"5.34",
19+
]
20+
21+
name: Perl ${{ matrix.perl }}
622
steps:
7-
- name: Check out repository code
8-
uses: actions/checkout@v3
9-
- name: Build image
10-
uses: docker/build-push-action@v2
23+
- uses: actions/checkout@v4
24+
- name: Setup perl
25+
uses: shogo82148/actions-setup-perl@v1
1126
with:
12-
file: Dockerfile-devel
13-
tags: test-image:latest
14-
push: false
15-
- name: Test
16-
uses: addnab/docker-run-action@v3
17-
with:
18-
image: test-image:latest
19-
run: |
20-
carton exec -- prove -lvr -I t/fixtures/lib t/
27+
perl-version: ${{ matrix.perl }}
28+
29+
- name: Install dependencies
30+
run: cpm install -g --with-configure
31+
32+
- run: perl Build.PL
33+
- run: ./Build
34+
- run: ./Build test
35+

META.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"tjmtmmnk <tjmtmmnk@gmail.com>"
55
],
66
"dynamic_config" : 0,
7-
"generated_by" : "Minilla/v3.1.20, CPAN::Meta::Converter version 2.150005",
7+
"generated_by" : "Minilla/v3.1.25, CPAN::Meta::Converter version 2.150010",
88
"license" : [
99
"perl_5"
1010
],
1111
"meta-spec" : {
1212
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
13-
"version" : "2"
13+
"version" : 2
1414
},
1515
"name" : "Pau",
1616
"no_index" : {
@@ -42,24 +42,24 @@
4242
},
4343
"runtime" : {
4444
"requires" : {
45-
"Data::Printer" : "== 1.000004",
46-
"Data::UUID" : "== 1.226",
47-
"File::Slurp" : "== 9999.32",
48-
"JSON::XS" : "== 4.03",
49-
"List::MoreUtils" : "== 0.430",
50-
"List::Util" : "== 1.59",
51-
"Module::CoreList" : "== 5.20220920",
52-
"PPI" : "== 1.274",
53-
"Parallel::ForkManager" : "== 2.02",
54-
"Smart::Args::TypeTiny" : "== 0.13",
55-
"Symbol::Get" : "== 0.10",
56-
"Try::Tiny" : "== 0.31"
45+
"Data::Printer" : "1.000004",
46+
"Data::UUID" : "1.226",
47+
"File::Slurp" : "9999.32",
48+
"JSON::XS" : "4.03",
49+
"List::MoreUtils" : "0.430",
50+
"List::Util" : "1.59",
51+
"Module::CoreList" : "5.20220920",
52+
"PPI" : "1.274",
53+
"Parallel::ForkManager" : "2.02",
54+
"Smart::Args::TypeTiny" : "0.13",
55+
"Symbol::Get" : "0.10",
56+
"Try::Tiny" : "0.31"
5757
}
5858
},
5959
"test" : {
6060
"requires" : {
61-
"Test2" : "== 1.302191",
62-
"Test2::Suite" : "== 0.000145",
61+
"Test2" : "1.302191",
62+
"Test2::Suite" : "0.000145",
6363
"Test::More" : "0.98"
6464
}
6565
}

cpanfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ on 'test' => sub {
1616
requires 'Test2::Suite', '0.000145';
1717
requires 'Test::More', '0.98';
1818
};
19+
20+
on configure => sub {
21+
requires 'Module::Build::Tiny', '0.035';
22+
};

0 commit comments

Comments
 (0)