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 18, 2024
1 parent d3854e8 commit 82253dd
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 @@ -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 .

0 comments on commit 82253dd

Please sign in to comment.