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: ""