From e29121cb2cc25607fb274caf1fe8b88b758560ee Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Wed, 8 Jan 2025 11:43:55 +0100 Subject: [PATCH] fix: use official ansible lint action Signed-off-by: Louis Vallat --- .gitea/workflows/lint.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 5ea743e..07138c3 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -8,11 +8,8 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 - - name: Activate venv & install dependencies - run: | - python3 -m venv venv - . venv/bin/activate - echo PATH=$PATH >> $GITHUB_ENV - pip install ansible ansible-lint - - name: Lint - run: ansible-lint --show-relpath + - name: Run ansible-lint + uses: ansible/ansible-lint@main + with: + args: "--show-relpath" + requirements_file: ""