Skip to content

Backend/frontend workflow runs when pull_request is opened, synchronize, or reopened #72

Backend/frontend workflow runs when pull_request is opened, synchronize, or reopened

Backend/frontend workflow runs when pull_request is opened, synchronize, or reopened #72

Workflow file for this run

name: Lint
on: [pull_request]
permissions:
contents: read
jobs:
lint-all-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Lint all files
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pre-commit
pre-commit run --all-files check-yaml
pre-commit run --all-files check-toml
pre-commit run --all-files check-added-large-files
pre-commit run --all-files check-merge-conflict
pre-commit run --all-files detect-private-key
pre-commit run --all-files end-of-file-fixer
pre-commit run --all-files trailing-whitespace
pre-commit run --all-files typos