Skip to content

Commit 4fecb0d

Browse files
committed
Try get yamllint via apt for speed
Setting up Python is comparatively slow. Maybe this will be faster. Try again to get yamllint Add flags to apt install
1 parent c09d789 commit 4fecb0d

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -177,19 +177,11 @@ jobs:
177177
# Ignore GHA workflows here. A separate job handles workflow files.
178178
files_ignore: .github/workflows/**
179179

180-
- name: Set up Python
181-
if: steps.changes.outputs.any_changed == 'true'
182-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
183-
with:
184-
python-version: ${{env.python-version}}
185-
cache: pip
186-
cache-dependency-path: |
187-
requirements.txt
188-
dev-requirements.txt
189-
190180
- name: Install yamllint
191181
if: steps.changes.outputs.any_changed == 'true'
192-
run: pip install yamllint~=1.37.0
182+
run: |
183+
sudo apt-get update
184+
sudo apt-get install --no-install-recommends -y yamllint
193185
194186
- name: Lint the YAML files
195187
if: steps.changes.outputs.any_changed == 'true'

0 commit comments

Comments
 (0)