Skip to content

Commit

Permalink
fix: run yamllint from the python package (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya authored Oct 21, 2024
1 parent 6947e85 commit cc8e88f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@ jobs:
- name: Check out modules
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: Run yamllint using Docker
run: docker run --rm -t -v $(pwd):/data cytopia/yamllint:latest --no-warnings -d .yamllint .
- name: Install yamllint
run: pip install --force-reinstall -v "yamllint==1.35.1"

- name: List YAML files
run: yamllint --list-files .

- name: Lint YAML files
run: find . -name 'index.md' | xargs yamllint --no-warnings -d .yamllint

0 comments on commit cc8e88f

Please sign in to comment.