mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
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:
parent
85fe18253f
commit
8189370615
1 changed files with 5 additions and 0 deletions
5
.github/workflows/languages.yaml
vendored
5
.github/workflows/languages.yaml
vendored
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue