From 365a531f0984f2024a46e1e6d65fd49d9f85c436 Mon Sep 17 00:00:00 2001 From: Giovanni Date: Mon, 12 Aug 2024 17:57:53 +0200 Subject: [PATCH] use sudo(8) when needed --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4790533..c2792f3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,10 +31,10 @@ jobs: run: | sudo apt-get update sudo apt-get -y install libmodule-build-perl libnet-dns-perl libnetaddr-ip-perl libnet-dns-resolver-programmable-perl libtest-pod-perl liburi-perl cpanminus libdist-zilla-perl - cpanm -n Mail::SPF::Test - dzil authordeps --missing | cpanm + sudo cpanm -n Mail::SPF::Test + dzil authordeps --missing | sudo cpanm hash -r - cpanm --installdeps --notest . || echo "warn: errors installing required cpan modules have been ignored" + sudo cpanm --installdeps --notest . || echo "warn: errors installing required cpan modules have been ignored" - name: build run: | dzil build