Systematize names: some easy pickings #9
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: master | |
pull_request: | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
name: Verify Python formatting | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/ruff-action@v2 | |
with: | |
args: "format --check" | |
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 |