Skip to content

chore

chore #12

Workflow file for this run

name: Django Code Formatter
# Enable Buildkit and let compose use it to speed up image building
env:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
on:
pull_request:
branches: [ "master", "feature"]
paths: ["apps/**"]
push:
branches: [ "master", "feature"]
paths: ["apps/**"]
jobs:
linter:
runs-on: ubuntu-latest
steps:
- name: Checkout Code Repository
uses: actions/[email protected]
- name: Set up Python 3.11.4
uses: actions/[email protected]
with:
python-version: 3.11.4
check-latest: true
- name: Install and Run Pre-commit
uses: pre-commit/[email protected]
with:
config: .pre-commit-config.yaml