diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5af59b69..9af11d6f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,3 +16,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 .