@@ -4,41 +4,39 @@ name: dzil build and test
44on :
55 push :
66 branches :
7- - " * "
7+ - " master "
88 pull_request :
99 branches :
1010 - " *"
11- schedule :
12- - cron : " 15 4 * * 0" # Every Sunday morning
11+ workflow_dispatch :
1312
1413jobs :
1514 build-job :
1615 name : Build distribution
1716 runs-on : ubuntu-20.04
1817 container :
19- image : perldocker/perl-tester:5.32
18+ image : perldocker/perl-tester:5.36
2019 steps :
21- - uses : actions/checkout@v2
20+ - uses : actions/checkout@v3
2221 - name : Run Tests
2322 env :
2423 AUTHOR_TESTING : 1
2524 AUTOMATED_TESTING : 1
2625 EXTENDED_TESTING : 1
2726 RELEASE_TESTING : 1
2827 run : auto-build-and-test-dist
29- - uses : actions/upload-artifact@v2
28+ - uses : actions/upload-artifact@v3
3029 with :
3130 name : build_dir
3231 path : build_dir
33- if : ${{ github.actor != 'nektos/act' }}
3432 coverage-job :
3533 needs : build-job
3634 runs-on : ubuntu-20.04
3735 container :
38- image : perldocker/perl-tester:5.32
36+ image : perldocker/perl-tester:5.36
3937 steps :
40- - uses : actions/checkout@v2 # codecov wants to be inside a Git repository
41- - uses : actions/download-artifact@v2
38+ - uses : actions/checkout@v3 # codecov wants to be inside a Git repository
39+ - uses : actions/download-artifact@v3
4240 with :
4341 name : build_dir
4442 path : .
@@ -50,23 +48,23 @@ jobs:
5048 needs : build-job
5149 runs-on : ubuntu-latest
5250 steps :
53- - uses : actions/download-artifact@v2
51+ - uses : actions/download-artifact@v3
5452 with :
5553 name : build_dir
5654 path : .
5755 - name : Pull httpbin Docker image
5856 run : docker pull kennethreitz/httpbin
5957 - name : Run httpbin
6058 run : docker run -d -p 31234:80 kennethreitz/httpbin
61- - name : docker pull perldocker/perl-tester:5.32
62- run : docker pull perldocker/perl-tester:5.32
59+ - name : docker pull perldocker/perl-tester:5.36
60+ run : docker pull perldocker/perl-tester:5.36
6361 - name : Run tests via Docker
6462 run : >
6563 docker run
6664 --network="host"
6765 --env AUTHOR_TESTING=1
6866 -v
69- $(pwd):/home/dist perldocker/perl-tester:5.32
67+ $(pwd):/home/dist perldocker/perl-tester:5.36
7068 /bin/sh -c "cd /home/dist && cpan-install-dist-deps && prove -lv xt/rt-112313.t"
7169 ubuntu-test-job :
7270 needs : build-job
8987 - " 5.28"
9088 - " 5.30"
9189 - " 5.32"
90+ - " 5.34"
91+ - " 5.36"
9292 name : perl ${{ matrix.perl-version }} on ${{ matrix.os }}
9393 steps :
9494 - name : set up perl
@@ -170,7 +170,7 @@ jobs:
170170 with :
171171 perl-version : ${{ matrix.perl-version }}
172172 distribution : strawberry # this option only used on windows
173- - uses : actions/download-artifact@v2
173+ - uses : actions/download-artifact@v3
174174 with :
175175 name : build_dir
176176 path : .
0 commit comments