From d9848fafeac9a5d98004746f6d80a037694706c0 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 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 5ea743e..48845f7 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -8,11 +8,9 @@ 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" + setup_python: "false" + requirements_file: "" \ No newline at end of file