diff --git a/.github/workflows/cache_local_lib.yml b/.github/workflows/cache_local_lib.yml index 4cd579bcad..2e057ec1ed 100644 --- a/.github/workflows/cache_local_lib.yml +++ b/.github/workflows/cache_local_lib.yml @@ -75,7 +75,7 @@ jobs: if: steps.cache_local_lib.outputs.cache-hit != 'true' run: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install libxml2-utils libxslt-dev graphviz libqrencode-dev odbcinst1debian2 libodbc1 odbcinst unixodbc-dev unixodbc - - name: 'install App::perlimports from CPAN' + - name: 'install App::perlimports from CPAN with App::cpm' if: steps.cache_local_lib.outputs.cache-hit != 'true' uses: perl-actions/install-with-cpm@stable with: @@ -89,10 +89,11 @@ jobs: if: steps.cache_local_lib.outputs.cache-hit != 'true' run: cp cpanfile.docker.snapshot cpanfile.snapshot - - name: 'install Perl modules from CPAN' + - name: 'install Perl modules from CPAN with App::cpm' if: steps.cache_local_lib.outputs.cache-hit != 'true' uses: perl-actions/install-with-cpm@stable with: + args: "--installdeps ." global: false tests: false sudo: false diff --git a/.github/workflows/code_policy.yml b/.github/workflows/code_policy.yml index d26e3205ff..bf625f2167 100644 --- a/.github/workflows/code_policy.yml +++ b/.github/workflows/code_policy.yml @@ -63,7 +63,7 @@ jobs: # sudo apt install -y cpanminus # cpanm -l local --notest XML::LibXSLT || sh -xc 'cat ~/.cpanm/work/*/build.log' - - name: 'install App::perlimports from CPAN' + - name: 'install App::perlimports from CPAN with App::cpm' if: steps.cache_local_lib.outputs.cache-hit != 'true' uses: perl-actions/install-with-cpm@stable with: @@ -77,10 +77,11 @@ jobs: if: steps.cache_local_lib.outputs.cache-hit != 'true' run: cp cpanfile.docker.snapshot cpanfile.snapshot - - name: 'install Perl modules from CPAN' + - name: 'install Perl modules from CPAN with App::cpm' if: steps.cache_local_lib.outputs.cache-hit != 'true' uses: perl-actions/install-with-cpm@stable with: + args: "--installdeps ." global: false tests: false sudo: false