when:
  - event: push
    branch: master

steps:
  - name: Perform checks
    image: ghcr.io/astral-sh/uv:0.6.14-python3.13-bookworm
    commands:
      - apt-get update && apt-get install -y --no-install-recommends cargo
      - uv sync --all-extras
      # Lint the code
      - uv run ruff check src/xmpp_api/
      # Check for type safety
      - uv run mypy src/xmpp_api/
      # Check for security issues
      - uv run bandit -r src/xmpp_api/