Skip to content

Commit

Permalink
Add djLint to linting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Oct 28, 2024
1 parent 8797aa1 commit 7f25a74
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,20 @@ jobs:
- uses: astral-sh/ruff-action@v1
with:
changed-files: 'true'

djlint:
runs-on: ubuntu-latest
name: Lint HTML
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5

- name: Install dependencies
run: |
pip install -U pip
pip install djlint
- name: Lint
run: djlint --lint .

0 comments on commit 7f25a74

Please sign in to comment.