Fix CI: venv yamllint + markdownlint config
This commit is contained in:
parent
99df4d9cca
commit
53188f3969
@ -83,13 +83,15 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python3 -m pip install --user --no-cache-dir yamllint==1.35.1
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
python3 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
pip install --no-cache-dir yamllint==1.35.1
|
||||
|
||||
- name: Lint YAML
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# Lint tracked YAML only (avoid .git and other noise)
|
||||
. .venv/bin/activate
|
||||
git ls-files '*.yml' '*.yaml' | xargs -r yamllint -d "{extends: default, rules: {line-length: disable}}"
|
||||
|
||||
|
||||
4
.markdownlint-cli2.yaml
Normal file
4
.markdownlint-cli2.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
# Notes repo: long lines (IPs, commands, URLs) are common.
|
||||
config:
|
||||
MD013: false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user