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:
|
||||
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: ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user