Integrate with django messages to display messages as toasts #165
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify formatting | |
on: | |
push: | |
branches: main | |
pull_request: | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
name: Verify Python formatting | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/ruff-action@v1 | |
with: | |
args: "format --check" | |
changed-files: 'true' | |
djlint: | |
runs-on: ubuntu-latest | |
name: Check HTML formatting | |
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: Format HTML | |
run: djlint . --check |