Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: consolidate type checking in style workflow (#25053)

-LAN-b88146c4439d
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml
index 5efe4229046..116fc59ee8a 100644
--- a/.github/workflows/api-tests.yml
+++ b/.github/workflows/api-tests.yml
@@ -62,9 +62,6 @@ jobs:
- name: Run dify config tests
run: uv run --project api dev/pytest/pytest_config_tests.py
- - name: Run Basedpyright Checks
- run: dev/basedpyright-check
-
- name: Set up dotenvs
run: |
cp docker/.env.example docker/.env
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index a3643c9931d..aaabec0cb54 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -44,9 +44,9 @@ jobs:
if: steps.changed-files.outputs.any_changed == 'true'
run: uv sync --project api --dev
- - name: Run ty check
+ - name: Run Basedpyright Checks
if: steps.changed-files.outputs.any_changed == 'true'
- run: dev/ty-check
+ run: dev/basedpyright-check
- name: Dotenv check
if: steps.changed-files.outputs.any_changed == 'true'
diff --git a/dev/basedpyright-check b/dev/basedpyright-check
index db0f02335e0..267ef2a5223 100755
--- a/dev/basedpyright-check
+++ b/dev/basedpyright-check
@@ -6,4 +6,4 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")"
cd "$SCRIPT_DIR/.."
# run basedpyright checks
-uv --directory api run basedpyright
+uv run --directory api --dev basedpyright