From 0b69a936d5cd84b32a94dc3151ec5b033b19bb1f 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 | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 5ea743e..5b8c078 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -4,15 +4,12 @@ on: push jobs: lint: name: "Lint" - runs-on: python-bookworm + runs-on: debian-12 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: ""