Add cpanminus for ubuntu perl tests

cpanminus is already available in the Windows Perl distribution, but was
missing from the runner for Ubuntu. This updates the runner for the perl
jobs to make cpanm available.
This commit is contained in:
Daniel Porter 2024-04-24 17:28:07 +01:00
parent 85fe18253f
commit 8189370615

View file

@ -63,6 +63,11 @@ jobs:
echo 'C:\Strawberry\c\bin' >> "$GITHUB_PATH"
shell: bash
if: matrix.os == 'windows-latest' && matrix.language == 'perl'
- run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
cpanminus
if: matrix.os == 'ubuntu-latest' && matrix.language == 'perl'
- uses: haskell/actions/setup@v2
if: matrix.language == 'haskell'