Skip to content

Commit 13f118f

Browse files
committed
Add new lint_and_format build step
1 parent 00ca3ee commit 13f118f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/django.yml

+10
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ jobs:
1414
# - name: Run tests
1515
# run: docker compose run django py.test
1616

17+
lint_and_format:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: ./.github/workflows/python_and_pip
22+
- name: Run ruff linter
23+
run: ruff check .
24+
- name: Run ruff format checker
25+
run: ruff format --check
26+
1727
build:
1828
runs-on: ubuntu-latest
1929
services:

0 commit comments

Comments
 (0)