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 22, 2024
1 parent 891c9b0 commit f23e77f
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 f23e77f

Please sign in to comment.