소스 검색

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

tags/1.8.1
-LAN- 1 개월 전
부모
커밋
b88146c443
No account linked to committer's email address
3개의 변경된 파일3개의 추가작업 그리고 6개의 파일을 삭제
  1. 0
    3
      .github/workflows/api-tests.yml
  2. 2
    2
      .github/workflows/style.yml
  3. 1
    1
      dev/basedpyright-check

+ 0
- 3
.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

+ 2
- 2
.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'

+ 1
- 1
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

Loading…
취소
저장