Skip to content

chore: test 1

chore: test 1 #1

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: [ "*"]
push:
branches: [ "master", "feature" ]
paths: ["*"]
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
# Run all pre-commit hooks on all the files.
# Getting only staged files can be tricky in case a new PR is opened
# since the action is run on a branch in detached head state
- name: Install and Run Pre-commit
uses: pre-commit/[email protected]