mirror of https://github.com/langgenius/dify.git
chore: consolidate type checking in style workflow (#25053)
This commit is contained in:
parent
c40cb7fd59
commit
b88146c443
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue