diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3c8a387c..2de9f42e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 .