ci/cd
This commit is contained in:
@@ -15,13 +15,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Install linters
|
- name: Install linters
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache python3 py3-venv bash git
|
apk add --no-cache python3 py3-pip bash git
|
||||||
python3 -m venv venv
|
python3 -m venv venv # venv module is included
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install yamllint ansible-lint
|
pip install yamllint ansible-lint
|
||||||
yamllint .
|
yamllint .
|
||||||
ansible-lint infrastructure/playbooks
|
ansible-lint ../../ansible/playbooks
|
||||||
|
|
||||||
- name: YAML lint
|
- name: YAML lint
|
||||||
run: yamllint .
|
run: yamllint .
|
||||||
|
|||||||
Reference in New Issue
Block a user