Skip to content

Add tailwind-watch rule and use local cli explicitly #1688

Add tailwind-watch rule and use local cli explicitly

Add tailwind-watch rule and use local cli explicitly #1688

Workflow file for this run

name: Verify formatting
on:
push:
branches: master
pull_request:
jobs:
ruff:
runs-on: ubuntu-latest
name: Verify Python formatting
steps:
- uses: actions/checkout@v5
- uses: astral-sh/ruff-action@v3
with:
version: "0.12.0"
args: "format --check"
djlint:
runs-on: ubuntu-latest
name: Check HTML formatting
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
- name: Install dependencies
run: |
pip install -U pip
pip install djlint
- name: Format HTML
run: djlint . --check