Install yamllint through apt
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
@@ -11,15 +11,10 @@ jobs:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.12.3"
|
||||
|
||||
- name: Install yaml-lint # As yamllint action is a composite it does not install yamllint itself
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install yamllint
|
||||
apt update
|
||||
apt install -y --no-install-recommends yamllint
|
||||
|
||||
- name: Lint with yaml-lint
|
||||
uses: ibiqlik/action-yamllint@v3
|
||||
|
Reference in New Issue
Block a user