Skip to content

🐛 [#626] Use raw_id_fields for klantcontact and other missing FK r… #1770

🐛 [#626] Use raw_id_fields for klantcontact and other missing FK r…

🐛 [#626] Use raw_id_fields for klantcontact and other missing FK r… #1770

Workflow file for this run

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: Code quality checks
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
# least privilege as default, should be overridden per job if necessary
permissions:
contents: read
jobs:
open-api-workflow-code-quality:
uses: maykinmedia/open-api-workflows/.github/workflows/code-quality.yml@31eaea25acd18bb681fe0d01b2452c3dd8d299b9 # v7.0.0
with:
python-version: "3.12"
node-version: "24"
django-settings-module: "openklant.conf.ci"
django-secret-key: dummy
type-checking:
name: Type checking (Pyright)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
- name: Install additional dependencies
run: |
pip install uv
uv pip install \
--system \
-r requirements/type-checking.txt
- uses: jakebailey/pyright-action@8ec14b5cfe41f26e5f41686a31eb6012758217ef # v3.0.2
with:
version: 1.1.407
project: pyright.pyproject.toml