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.

fix(ci): use setup-python to avoid 504 errors and use project oxlint config (#29613)

yyhb8d54d745e09
diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml
index 3563c29577e..7947382968c 100644
--- a/.github/workflows/autofix.yml
+++ b/.github/workflows/autofix.yml
@@ -13,11 +13,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
- # Use uv to ensure we have the same ruff version in CI and locally.
- - uses: astral-sh/setup-uv@v6
+ - uses: actions/setup-python@v5
with:
python-version: "3.11"
+
+ - uses: astral-sh/setup-uv@v6
+
- run: |
cd api
uv sync --dev
@@ -85,7 +86,6 @@ jobs:
- name: oxlint
working-directory: ./web
- run: |
- pnpx oxlint --fix
+ run: pnpm exec oxlint --config .oxlintrc.json --fix .
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27