From ffce2abdcd6a7f1e53ab6b6d21e3f53e88b74798 Mon Sep 17 00:00:00 2001 From: Greg Harvey Date: Thu, 6 Feb 2025 18:15:31 +0100 Subject: [PATCH] Linter does need sudo to install. --- .github/workflows/ce-deploy-lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ce-deploy-lint.yml b/.github/workflows/ce-deploy-lint.yml index 280d685..30a9be9 100644 --- a/.github/workflows/ce-deploy-lint.yml +++ b/.github/workflows/ce-deploy-lint.yml @@ -17,8 +17,8 @@ jobs: # Linter checks. - name: Install linters. run: | - apt-get update - apt-get install -y ansible-lint yamllint shellcheck + sudo apt-get update + sudo apt-get install -y ansible-lint yamllint shellcheck - name: Run ansible-lint. run: find ./roles -name "*.yml" | xargs ansible-lint