name: Nexus Pre-commit Checks

on:
  push:
    branches: ["*"]

jobs:
  quick-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: "3.12"
      - run: pip install ruff
      - name: Quick lint
        run: ruff check server/ --select=E,F,W --diff