Skip to content

feat: modernize project tooling and add comprehensive type annotations #22

feat: modernize project tooling and add comprehensive type annotations

feat: modernize project tooling and add comprehensive type annotations #22

name: ci-pydgraph-code-quality
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
permissions:
contents: read
jobs:
check-code-quality:
name: Code Quality Checks
runs-on: ubuntu-latest
steps:
- name: Checkout pydgraph
uses: actions/checkout@v5
with:
repository: dgraph-io/pydgraph
ref: ${{ github.ref }}
- name: Setup python runtime and tooling
uses: ./.github/actions/setup-python-and-tooling
with:
python-version: "3.13"
- name: Setup project dependencies
run: INSTALL_MISSING_TOOLS=true make setup
- name: Sync python virtualenv
run: make sync
- name: Check generated protobufs are current
run: |
make protogen
git diff --exit-code -- .
- name: Run code quality checks
run: SKIP=trunk-check,trunk-fmt make check