diff --git a/.github/workflows/multiperl-test.yml b/.github/workflows/multiperl-test.yml index 12b48767d..d9e13454b 100644 --- a/.github/workflows/multiperl-test.yml +++ b/.github/workflows/multiperl-test.yml @@ -1,5 +1,9 @@ name: "multiperl test" -on: [ push, pull_request ] +on: + push: + branches: "*" + tags-ignore: "*" + pull_request: ~ # FUTURE ENHANCEMENT(s): # * install faster (see below) @@ -25,8 +29,10 @@ jobs: # installing via cpanm that could, instead, be installed from apt. I # may do that later, but for now, it's fine! -- rjbs, 2023-01-07 run: | - dzil authordeps --missing | /tmp/cpanm --notest -S - dzil listdeps --author --missing | /tmp/cpanm --notest -S + dzil authordeps --missing > /tmp/deps-phase-1.txt + /tmp/cpanm --notest -S < /tmp/deps-phase-1.txt + dzil listdeps --author --missing >> /tmp/deps-phase-2.txt + /tmp/cpanm --notest -S < /tmp/deps-phase-2.txt - name: Build tarball run: | dzil build --in Dist-To-Test @@ -50,17 +56,7 @@ jobs: strategy: fail-fast: false matrix: - perl-version: - - 'latest' - - '5.36' - - '5.34' - - '5.32' - - '5.30' - - '5.28' - - '5.26' - - '5.24' - - '5.22' - - '5.20' + perl-version: [ "devel", "5.36", "5.34", "5.32", "5.30", "5.28", "5.26", "5.24", "5.22", "5.20" ] container: image: perldocker/perl-tester:${{ matrix.perl-version }}