diff --git a/.github/workflows/_tests.yml b/.github/workflows/_tests.yml index f69e42100b..66e1cbb9f7 100644 --- a/.github/workflows/_tests.yml +++ b/.github/workflows/_tests.yml @@ -91,10 +91,12 @@ jobs: key: asdf-${{ runner.os }} - name: Set up asdf + uses: asdf-vm/actions/setup@v2.2.0 + + - name: Set up asdf perl plugin and perl env: ASDF_PERL_VERSION: ${{ env.PERL_TEST_VERSION }} run: | - git clone --depth 1 https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.11.2 && ~/.asdf/bin/asdf plugin add perl || ~/.asdf/bin/asdf update bash -c '~/.asdf/bin/asdf install perl ${{ env.PERL_TEST_VERSION }} --noman -j 8 || true' ~/.asdf/bin/asdf exec cpan install App::cpanminus ~/.asdf/bin/asdf exec cpanm --notest ${{ env.TEST_PERL_MODULES }}