File tree 1 file changed +46
-26
lines changed
1 file changed +46
-26
lines changed Original file line number Diff line number Diff line change 9
9
pull_request :
10
10
11
11
jobs :
12
+
13
+ ubuntu :
14
+ runs-on : ubuntu-latest
15
+
16
+ env :
17
+ PERL_USE_UNSAFE_INC : 0
18
+ AUTHOR_TESTING : 1
19
+ AUTOMATED_TESTING : 1
20
+ RELEASE_TESTING : 1
21
+ PERL_CARTON_PATH : $GITHUB_WORKSPACE/local
22
+
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ - run : perl -V
26
+ - name : Install Dependencies
27
+ uses : perl-actions/install-with-cpm@v1
28
+ with :
29
+ cpanfile : " cpanfile"
30
+ - run : perl Makefile.PL
31
+ - run : make
32
+ - run : make test
33
+
34
+ perl-versions :
35
+ runs-on : ubuntu-latest
36
+ name : List Perl versions
37
+ outputs :
38
+ perl-versions : ${{ steps.action.outputs.perl-versions }}
39
+ steps :
40
+ - id : action
41
+ uses : perl-actions/perl-versions@v1
42
+ with :
43
+ since-perl : v5.10
44
+ with-devel : true
45
+
12
46
perl :
13
47
runs-on : ubuntu-latest
14
48
49
+ needs :
50
+ - ubuntu
51
+ - perl-versions
52
+
15
53
env :
16
54
PERL_USE_UNSAFE_INC : 0
17
55
AUTHOR_TESTING : 1
@@ -22,33 +60,15 @@ jobs:
22
60
strategy :
23
61
fail-fast : false
24
62
matrix :
25
- perl-version :
26
- - " 5.32"
27
- - " 5.30"
28
- - " 5.28"
29
- - " 5.26"
30
- - " 5.24"
31
- - " 5.22"
32
- - " 5.20"
33
- - " 5.18"
34
- - " 5.16"
35
- - " 5.14"
36
- - " 5.12"
37
- - " 5.10"
38
- # - '5.8'
39
-
40
- container :
41
- image : perldocker/perl-tester:${{ matrix.perl-version }}
63
+ perl-version : ${{ fromJson (needs.perl-versions.outputs.perl-versions) }}
64
+
65
+ container : perldocker/perl-tester:${{ matrix.perl-version }}
42
66
43
67
steps :
44
- - uses : actions/checkout@v1
45
- - name : perl -V
46
- run : perl -V
68
+ - uses : actions/checkout@v4
69
+ - run : perl -V
47
70
- name : Install Dependencies
48
71
run : cpm install -g --show-build-log-on-failure
49
- - name : perl Makefile.PL
50
- run : perl Makefile.PL
51
- - name : make
52
- run : make
53
- - name : Run Tests
54
- run : make test
72
+ - run : perl Makefile.PL
73
+ - run : make
74
+ - run : make test
You can’t perform that action at this time.
0 commit comments