Update actions/checkout action to v4.1.5 #184
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
# Run tests for any PRs. | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- "ubuntu-latest" | |
- "macos-latest" | |
perl: | |
- "5.38" | |
- "5.36" | |
- "5.10" | |
name: Perl ${{ matrix.perl }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup perl | |
uses: shogo82148/[email protected] | |
with: | |
perl-version: ${{ matrix.perl }} | |
- run: perl -V | |
- name: Force install ExtUtils::MakeMaker on machines running old perl version | |
run: cpanm ExtUtils::MakeMaker --notest --force | |
if: matrix.perl == '5.10' | |
# https://github.com/rjbs/Test-Deep/blob/7c6261797dae99879068d682a5648dc3efd23323/Changes#L24 | |
- name: Pin Test::Deep for old perl | |
run: cpanm Test::[email protected] --notest --force | |
if: matrix.perl == '5.10' | |
- run: cpanm --installdeps . | |
- run: prove -lv t | |
- run: tail -n 150 /home/runner/.cpanm/work/*/build.log | |
if: ${{ failure() && matrix.os == 'ubuntu-latest' }} | |
- run: tail -n 150 /Users/runner/.cpanm/work/*/build.log | |
if: ${{ failure() && matrix.os == 'macos-latest' }} |