Skip to content

A programming framework for agentic AI

Add initial type check CI (#1882)

Jack Gerrits0e1a4b9fddf5
diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml
new file mode 100644
index 000000000..498337c61
--- /dev/null
+++ b/.github/workflows/type-check.yml
@@ -0,0 +1,22 @@
+name: Type check
+
+# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
+on: # Trigger the workflow on pull request or merge
+ pull_request:
+ merge_group:
+ types: [checks_requested]
+
+defaults:
+ run:
+ shell: bash
+permissions: {}
+
+jobs:
+ type-check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
+ - run: pip install ".[jupyter-executor]" mypy
+ # As more modules are type check clean, add them here
+ - run: mypy --install-types --non-interactive autogen/logger