diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2573271..52c2788c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,14 @@ jobs: container: image: perl:5.32 steps: + - name: install dependencies + run: | + apt install -y git + cpanm --notest --quiet App::PerlNitpick - uses: actions/checkout@v2 - uses: gugod/action-perlcritic@fun with: directory: "lib script t dev-bin" - - name: install perlnitpick - run: cpanm --notest --quiet App::PerlNitpick - name: run perlnitpick run: perlnitpick --inplace --rules=RemoveTrailingWhitespace,RemoveUnusedVariables,RemoveUnusedInclude,RemoveUnusedImport . - name: suggester @@ -40,7 +42,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - perl: [ '5.8', '5.10' ] + perl: ['5.12', '5.14'] container: image: perl:${{ matrix.perl }} name: Perl ${{ matrix.perl }} @@ -50,3 +52,18 @@ jobs: - run: cpanm --quite --notest --installdeps . - run: cpanm --quite --notest App::Prove - run: prove -lrv t + + prove_legacy: + runs-on: ubuntu-latest + strategy: + matrix: + perl: ['5.8', '5.10'] + container: + image: perl:${{ matrix.perl }} + name: Perl ${{ matrix.perl }} + steps: + - uses: actions/checkout@v2 + - run: perl -V + - run: cpanm --quite --notest Pod::Man@4.10 Test::Deep@1.130 App::Prove + - run: cpanm --quite --notest --installdeps . + - run: prove -lrv t