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

This commit is contained in:
-LAN-
2025-09-03 13:34:43 +08:00
committed by GitHub
parent c40cb7fd59
commit b88146c443
3 changed files with 3 additions and 6 deletions

View File

@@ -62,9 +62,6 @@ jobs:
- name: Run dify config tests - name: Run dify config tests
run: uv run --project api dev/pytest/pytest_config_tests.py run: uv run --project api dev/pytest/pytest_config_tests.py
- name: Run Basedpyright Checks
run: dev/basedpyright-check
- name: Set up dotenvs - name: Set up dotenvs
run: | run: |
cp docker/.env.example docker/.env cp docker/.env.example docker/.env

View File

@@ -44,9 +44,9 @@ jobs:
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'
run: uv sync --project api --dev run: uv sync --project api --dev
- name: Run ty check - name: Run Basedpyright Checks
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'
run: dev/ty-check run: dev/basedpyright-check
- name: Dotenv check - name: Dotenv check
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'

View File

@@ -6,4 +6,4 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")"
cd "$SCRIPT_DIR/.." cd "$SCRIPT_DIR/.."
# run basedpyright checks # run basedpyright checks
uv --directory api run basedpyright uv run --directory api --dev basedpyright