10
10
- " *"
11
11
schedule :
12
12
- cron : " 15 4 * * 0" # Every Sunday morning
13
+ workflow_dispatch :
13
14
14
15
jobs :
15
16
build :
18
19
strategy :
19
20
max-parallel : 1
20
21
container :
21
- image : perldocker/perl-tester:5.30
22
+ image : perldocker/perl-tester:5.34
22
23
steps :
23
24
- uses : actions/checkout@v2
24
25
- name : Install author deps
30
31
- name : Maybe skip Changes test
31
32
if : github.ref == 'refs/heads/master'
32
33
run : rm dzil_build_dir/xt/release/changes_has_content.t && perl -pi -e "s|'xt/release/changes_has_content.t'||g" dzil_build_dir/xt/author/*
33
- - uses : actions/upload-artifact@master
34
+ - uses : actions/upload-artifact@v2
34
35
with :
35
36
name : build_dir
36
37
path : dzil_build_dir
@@ -76,13 +77,15 @@ jobs:
76
77
- " 5.26"
77
78
- " 5.28"
78
79
- " 5.30"
80
+ - " 5.32"
81
+ - " 5.34"
79
82
container :
80
83
image : perldocker/perl-tester:${{ matrix.perl-version }}
81
84
env :
82
- AUTHOR_TESTING : 1
83
- RELEASE_TESTING : 1
85
+ AUTHOR_TESTING : 0
86
+ RELEASE_TESTING : 0
84
87
steps :
85
- - uses : actions/download-artifact@master
88
+ - uses : actions/download-artifact@v2
86
89
with :
87
90
name : build_dir
88
91
path : .
@@ -91,12 +94,11 @@ jobs:
91
94
run : >
92
95
cpm install -g
93
96
--cpanfile cpanfile
94
- --with-develop
95
97
--with-suggests
96
98
--show-build-log-on-failure
97
99
- name : Run Tests
98
100
if : success()
99
- run : prove -lr --jobs 2 t xt
101
+ run : prove -lr --jobs 2 t
100
102
test_macos :
101
103
runs-on : ${{ matrix.os }}
102
104
strategy :
@@ -115,29 +117,30 @@ jobs:
115
117
- " 5.26"
116
118
- " 5.28"
117
119
- " 5.30"
120
+ - " 5.34"
118
121
name : Perl ${{ matrix.perl-version }} on ${{ matrix.os }}
119
122
needs : build
120
123
steps :
121
124
- uses : actions/checkout@v2
122
125
- name : Set Up Perl
123
- uses : shogo82148/actions-setup-perl@v1.3.0
126
+ uses : shogo82148/actions-setup-perl@v1
124
127
with :
125
128
perl-version : ${{ matrix.perl-version }}
126
- - uses : actions/download-artifact@master
129
+ - uses : actions/download-artifact@v2
127
130
with :
128
131
name : build_dir
129
132
path : .
130
133
- run : perl -V
131
- - name : install deps using cpanm
132
- uses : perl-actions/install-with-cpm@v1.3
134
+ - name : install deps using cpm
135
+ uses : perl-actions/install-with-cpm@v1.4
133
136
with :
134
137
cpanfile : " cpanfile"
135
138
args : " --with-recommends --with-suggests --with-test"
136
139
sudo : false
137
- - run : prove -l t xt
140
+ - run : prove -l t
138
141
env :
139
- AUTHOR_TESTING : 1
140
- RELEASE_TESTING : 1
142
+ AUTHOR_TESTING : 0
143
+ RELEASE_TESTING : 0
141
144
test_windows :
142
145
runs-on : ${{ matrix.os }}
143
146
strategy :
@@ -162,20 +165,20 @@ jobs:
162
165
steps :
163
166
- uses : actions/checkout@v2
164
167
- name : Set Up Perl
165
- uses : shogo82148/actions-setup-perl@v1.3.0
168
+ uses : shogo82148/actions-setup-perl@v1
166
169
with :
167
170
perl-version : ${{ matrix.perl-version }}
168
- - uses : actions/download-artifact@master
171
+ - uses : actions/download-artifact@v2
169
172
with :
170
173
name : build_dir
171
174
path : .
172
175
- name : install deps using cpanm
173
- uses : perl-actions/install-with-cpanm @v1.1
176
+ uses : perl-actions/install-with-cpm @v1.4
174
177
with :
175
178
cpanfile : " cpanfile"
176
179
sudo : false
177
180
- run : perl -V
178
- - run : prove -l t xt
181
+ - run : prove -l t
179
182
env :
180
- AUTHOR_TESTING : 1
181
- RELEASE_TESTING : 1
183
+ AUTHOR_TESTING : 0
184
+ RELEASE_TESTING : 0
0 commit comments