Use git as a fallback if snapshot fails to download #34
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: Linux | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: "${{ matrix.os }}-latest" | |
strategy: | |
matrix: | |
os: | |
- ubuntu | |
perl: | |
- 5.38 | |
- 5.36 | |
name: ${{ matrix.os }}/${{ matrix.perl }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup perl | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: ${{ matrix.perl }} | |
- name: Run tests | |
run: cpanm --test-only -v . |