From 331346d2ecb75e3a34954cfb8726d1fa56778871 Mon Sep 17 00:00:00 2001 From: Andrey Gubarev Date: Fri, 10 May 2024 13:15:31 +0400 Subject: [PATCH] replaced pip install ansible-lint with direnv setup and execution --- .github/workflows/ansible-lint.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 62b310c..b4506b0 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -17,8 +17,8 @@ jobs: with: python-version: '3.x' - - name: Install dependencies - run: pip install ansible-lint + - name: Set up direnv + uses: andreygubarev/direnv-action@v1 - name: Lint with ansible-lint - run: ansible-lint -v + run: direnv exec ansible-lint -v