summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRuss Allbery <rra@cpan.org>2020-07-04 19:23:01 -0700
committerRuss Allbery <rra@cpan.org>2020-07-04 19:23:01 -0700
commit052fb932c9bc82d821d7f0d6d243895f722b3e43 (patch)
treedf44b18e48258891630c58c3569bdb77290e1642 /.github
parentb52de82627714c4c9786d0410c05be9a0bc202a5 (diff)
Improve module installation for GitHub Actions
Use the perl-actions/install-with-cpm GitHub Action, switch the optional test dependencies to suggests instead of requires, and pass the relevant flag to cpm.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 13b8b51..ca1a04b 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -36,8 +36,9 @@ jobs:
- uses: actions/checkout@v2
- name: perl -V
run: perl -V
- - name: Install Dependencies
- run: cpm install -g --show-build-log-on-failure
+ - uses: perl-actions/install-with-cpm@v1.3
+ cpanfile: "cpanfile"
+ args: "--with-suggests"
- name: Build.PL
run: perl Build.PL
- name: make test