Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
parent
d5f7eb928c
commit
0b69a936d5
@ -4,15 +4,12 @@ on: push
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: "Lint"
|
name: "Lint"
|
||||||
runs-on: python-bookworm
|
runs-on: debian-12
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Activate venv & install dependencies
|
- name: Run ansible-lint
|
||||||
run: |
|
uses: ansible/ansible-lint@main
|
||||||
python3 -m venv venv
|
with:
|
||||||
. venv/bin/activate
|
args: "--show-relpath"
|
||||||
echo PATH=$PATH >> $GITHUB_ENV
|
requirements_file: ""
|
||||||
pip install ansible ansible-lint
|
|
||||||
- name: Lint
|
|
||||||
run: ansible-lint --show-relpath
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user