Skip to content

Commit

Permalink
Use action to install asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
hurricup committed Jun 17, 2023
1 parent 810e527 commit 4ab4947
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ jobs:
key: asdf-${{ runner.os }}

- name: Set up asdf
uses: asdf-vm/actions/[email protected]

- 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 }}
Expand Down

0 comments on commit 4ab4947

Please sign in to comment.