From 085c1a465791f11ecd3881b2387913ef8cf4ae28 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Thu, 26 Feb 2026 08:26:30 +0100 Subject: [PATCH] ci: use hatch action --- .github/workflows/CI_check_api_ref.yml | 2 +- .github/workflows/CI_docusaurus_sync.yml | 2 +- .github/workflows/CI_pypi_release.yml | 5 ++++- .github/workflows/aimlapi.yml | 2 +- .github/workflows/amazon_bedrock.yml | 2 +- .github/workflows/amazon_sagemaker.yml | 2 +- .github/workflows/anthropic.yml | 2 +- .github/workflows/astra.yml | 2 +- .github/workflows/azure_ai_search.yml | 2 +- .github/workflows/azure_doc_intelligence.yml | 2 +- .github/workflows/chroma.yml | 2 +- .github/workflows/cohere.yml | 2 +- .github/workflows/cometapi.yml | 2 +- .github/workflows/deepeval.yml | 2 +- .github/workflows/elasticsearch.yml | 2 +- .github/workflows/fastembed.yml | 2 +- .github/workflows/firecrawl.yml | 2 +- .github/workflows/github.yml | 2 +- .github/workflows/google_genai.yml | 2 +- .github/workflows/hanlp.yml | 2 +- .github/workflows/jina.yml | 2 +- .github/workflows/langfuse.yml | 2 +- .github/workflows/lara.yml | 2 +- .github/workflows/llama_cpp.yml | 2 +- .github/workflows/llama_stack.yml | 2 +- .github/workflows/mcp.yml | 2 +- .github/workflows/meta_llama.yml | 2 +- .github/workflows/mistral.yml | 2 +- .github/workflows/mongodb_atlas.yml | 2 +- .github/workflows/nvidia.yml | 2 +- .github/workflows/ollama.yml | 2 +- .github/workflows/openrouter.yml | 2 +- .github/workflows/opensearch.yml | 2 +- .github/workflows/optimum.yml | 2 +- .github/workflows/paddleocr.yml | 2 +- .github/workflows/pgvector.yml | 2 +- .github/workflows/pinecone.yml | 2 +- .github/workflows/qdrant.yml | 2 +- .github/workflows/ragas.yml | 2 +- .github/workflows/snowflake.yml | 2 +- .github/workflows/stackit.yml | 2 +- .github/workflows/togetherai.yml | 2 +- .github/workflows/unstructured.yml | 2 +- .github/workflows/valkey.yml | 2 +- .github/workflows/watsonx.yml | 2 +- .github/workflows/weave.yml | 2 +- .github/workflows/weaviate.yml | 2 +- 47 files changed, 50 insertions(+), 47 deletions(-) diff --git a/.github/workflows/CI_check_api_ref.yml b/.github/workflows/CI_check_api_ref.yml index 45b6bd4866..b21d00739a 100644 --- a/.github/workflows/CI_check_api_ref.yml +++ b/.github/workflows/CI_check_api_ref.yml @@ -81,7 +81,7 @@ jobs: - name: Install Hatch if: steps.changed.outputs.integrations != '[]' - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Generate API references if: steps.changed.outputs.integrations != '[]' diff --git a/.github/workflows/CI_docusaurus_sync.yml b/.github/workflows/CI_docusaurus_sync.yml index d382897fa8..3a063b6693 100644 --- a/.github/workflows/CI_docusaurus_sync.yml +++ b/.github/workflows/CI_docusaurus_sync.yml @@ -32,7 +32,7 @@ jobs: python-version: "3.10" - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Get project folder id: pathfinder diff --git a/.github/workflows/CI_pypi_release.yml b/.github/workflows/CI_pypi_release.yml index 1dadbd1b3f..4a3356fd29 100644 --- a/.github/workflows/CI_pypi_release.yml +++ b/.github/workflows/CI_pypi_release.yml @@ -34,8 +34,11 @@ jobs: with: python-version: "3.12" + - name: Install Hatch + uses: pypa/hatch@install + - name: Install dependencies - run: pip install hatch requests + run: pip install requests - name: Validate version number run: python .github/utils/validate_version.py --tag ${{ github.ref_name }} diff --git a/.github/workflows/aimlapi.yml b/.github/workflows/aimlapi.yml index 6df29c960e..ba4bacf475 100644 --- a/.github/workflows/aimlapi.yml +++ b/.github/workflows/aimlapi.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/amazon_bedrock.yml b/.github/workflows/amazon_bedrock.yml index 159266a1bf..486b0573f5 100644 --- a/.github/workflows/amazon_bedrock.yml +++ b/.github/workflows/amazon_bedrock.yml @@ -57,7 +57,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/amazon_sagemaker.yml b/.github/workflows/amazon_sagemaker.yml index e385e34081..74fa4001e4 100644 --- a/.github/workflows/amazon_sagemaker.yml +++ b/.github/workflows/amazon_sagemaker.yml @@ -47,7 +47,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/anthropic.yml b/.github/workflows/anthropic.yml index e1b50987c6..d5d1023f90 100644 --- a/.github/workflows/anthropic.yml +++ b/.github/workflows/anthropic.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/astra.yml b/.github/workflows/astra.yml index eee60fb10f..90fa8034f0 100644 --- a/.github/workflows/astra.yml +++ b/.github/workflows/astra.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/azure_ai_search.yml b/.github/workflows/azure_ai_search.yml index 6c45850844..6839081b08 100644 --- a/.github/workflows/azure_ai_search.yml +++ b/.github/workflows/azure_ai_search.yml @@ -45,7 +45,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/azure_doc_intelligence.yml b/.github/workflows/azure_doc_intelligence.yml index 9359e6fd8d..5ee2873343 100644 --- a/.github/workflows/azure_doc_intelligence.yml +++ b/.github/workflows/azure_doc_intelligence.yml @@ -45,7 +45,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/chroma.yml b/.github/workflows/chroma.yml index 090dc7d4b9..85ccaf16a0 100644 --- a/.github/workflows/chroma.yml +++ b/.github/workflows/chroma.yml @@ -47,7 +47,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/cohere.yml b/.github/workflows/cohere.yml index 2ab1b2518f..a1c9da3160 100644 --- a/.github/workflows/cohere.yml +++ b/.github/workflows/cohere.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/cometapi.yml b/.github/workflows/cometapi.yml index 83b578f65f..0414a88112 100644 --- a/.github/workflows/cometapi.yml +++ b/.github/workflows/cometapi.yml @@ -49,7 +49,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/deepeval.yml b/.github/workflows/deepeval.yml index 69afac22e0..479fa05bf4 100644 --- a/.github/workflows/deepeval.yml +++ b/.github/workflows/deepeval.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/elasticsearch.yml b/.github/workflows/elasticsearch.yml index d27913435c..a07e6f7740 100644 --- a/.github/workflows/elasticsearch.yml +++ b/.github/workflows/elasticsearch.yml @@ -42,7 +42,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/fastembed.yml b/.github/workflows/fastembed.yml index fe55dfcb9f..1a27ba0c43 100644 --- a/.github/workflows/fastembed.yml +++ b/.github/workflows/fastembed.yml @@ -32,7 +32,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/firecrawl.yml b/.github/workflows/firecrawl.yml index e6cab96029..ceca75169e 100644 --- a/.github/workflows/firecrawl.yml +++ b/.github/workflows/firecrawl.yml @@ -43,7 +43,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml index caf8f14658..424c06e0f2 100644 --- a/.github/workflows/github.yml +++ b/.github/workflows/github.yml @@ -47,7 +47,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/google_genai.yml b/.github/workflows/google_genai.yml index 0a2c4e6b16..ada65461ac 100644 --- a/.github/workflows/google_genai.yml +++ b/.github/workflows/google_genai.yml @@ -49,7 +49,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/hanlp.yml b/.github/workflows/hanlp.yml index 2fa8755dcb..2c434f5577 100644 --- a/.github/workflows/hanlp.yml +++ b/.github/workflows/hanlp.yml @@ -53,7 +53,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/jina.yml b/.github/workflows/jina.yml index 745ee8be5b..d852e43c19 100644 --- a/.github/workflows/jina.yml +++ b/.github/workflows/jina.yml @@ -47,7 +47,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/langfuse.yml b/.github/workflows/langfuse.yml index a3084fbaea..9c45c5646a 100644 --- a/.github/workflows/langfuse.yml +++ b/.github/workflows/langfuse.yml @@ -52,7 +52,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install # TODO: Once this integration is properly typed, use hatch run test:types # https://github.com/deepset-ai/haystack-core-integrations/issues/1771 diff --git a/.github/workflows/lara.yml b/.github/workflows/lara.yml index 4b23e2d6b8..e6a5f77187 100644 --- a/.github/workflows/lara.yml +++ b/.github/workflows/lara.yml @@ -45,7 +45,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/llama_cpp.yml b/.github/workflows/llama_cpp.yml index 2da82222c0..257c62d5fe 100644 --- a/.github/workflows/llama_cpp.yml +++ b/.github/workflows/llama_cpp.yml @@ -61,7 +61,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/llama_stack.yml b/.github/workflows/llama_stack.yml index 2260bc9cc8..db7f158d9d 100644 --- a/.github/workflows/llama_stack.yml +++ b/.github/workflows/llama_stack.yml @@ -110,7 +110,7 @@ jobs: curl -fsS http://localhost:8321/v1/models || { echo "Health check failed. Logs:"; cat server.log; exit 1; } - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.12' && runner.os == 'Linux' diff --git a/.github/workflows/mcp.yml b/.github/workflows/mcp.yml index 7f21dec7eb..c81379aaec 100644 --- a/.github/workflows/mcp.yml +++ b/.github/workflows/mcp.yml @@ -49,7 +49,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Set up Docker if: runner.os == 'Linux' diff --git a/.github/workflows/meta_llama.yml b/.github/workflows/meta_llama.yml index 83e38db8d1..9cc71a5abf 100644 --- a/.github/workflows/meta_llama.yml +++ b/.github/workflows/meta_llama.yml @@ -49,7 +49,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/mistral.yml b/.github/workflows/mistral.yml index 70e6843dc1..8c4a27785a 100644 --- a/.github/workflows/mistral.yml +++ b/.github/workflows/mistral.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/mongodb_atlas.yml b/.github/workflows/mongodb_atlas.yml index cbd306bd02..2039a78ab7 100644 --- a/.github/workflows/mongodb_atlas.yml +++ b/.github/workflows/mongodb_atlas.yml @@ -44,7 +44,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/nvidia.yml b/.github/workflows/nvidia.yml index 3152414c06..46072c8c9d 100644 --- a/.github/workflows/nvidia.yml +++ b/.github/workflows/nvidia.yml @@ -49,7 +49,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/ollama.yml b/.github/workflows/ollama.yml index 9a277cdd1c..a5d03e97ff 100644 --- a/.github/workflows/ollama.yml +++ b/.github/workflows/ollama.yml @@ -86,7 +86,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/openrouter.yml b/.github/workflows/openrouter.yml index a7443ac373..4b0ef5fc1c 100644 --- a/.github/workflows/openrouter.yml +++ b/.github/workflows/openrouter.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/opensearch.yml b/.github/workflows/opensearch.yml index 8ffdb7ebdf..ad0d0033a4 100644 --- a/.github/workflows/opensearch.yml +++ b/.github/workflows/opensearch.yml @@ -42,7 +42,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/optimum.yml b/.github/workflows/optimum.yml index 2dc07d6494..95fbe3a3ad 100644 --- a/.github/workflows/optimum.yml +++ b/.github/workflows/optimum.yml @@ -47,7 +47,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint # we check types with python 3.13 because with 3.9, the installation of some type stubs fails diff --git a/.github/workflows/paddleocr.yml b/.github/workflows/paddleocr.yml index f0d5a52f41..9b31d8b58f 100644 --- a/.github/workflows/paddleocr.yml +++ b/.github/workflows/paddleocr.yml @@ -49,7 +49,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/pgvector.yml b/.github/workflows/pgvector.yml index 084f296b5f..1f44c06dca 100644 --- a/.github/workflows/pgvector.yml +++ b/.github/workflows/pgvector.yml @@ -51,7 +51,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/pinecone.yml b/.github/workflows/pinecone.yml index 6f96643571..8afae0a537 100644 --- a/.github/workflows/pinecone.yml +++ b/.github/workflows/pinecone.yml @@ -50,7 +50,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install # TODO: Once this integration is properly typed, use hatch run test:types # https://github.com/deepset-ai/haystack-core-integrations/issues/1771 diff --git a/.github/workflows/qdrant.yml b/.github/workflows/qdrant.yml index 4f5cdf5ad4..1b89682987 100644 --- a/.github/workflows/qdrant.yml +++ b/.github/workflows/qdrant.yml @@ -47,7 +47,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/ragas.yml b/.github/workflows/ragas.yml index 42470e17d9..71dc248030 100644 --- a/.github/workflows/ragas.yml +++ b/.github/workflows/ragas.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/snowflake.yml b/.github/workflows/snowflake.yml index abfc987a3b..78414900f7 100644 --- a/.github/workflows/snowflake.yml +++ b/.github/workflows/snowflake.yml @@ -47,7 +47,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/stackit.yml b/.github/workflows/stackit.yml index f5a84938bc..6c05547644 100644 --- a/.github/workflows/stackit.yml +++ b/.github/workflows/stackit.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/togetherai.yml b/.github/workflows/togetherai.yml index 3d90f009ee..015cbad3b1 100644 --- a/.github/workflows/togetherai.yml +++ b/.github/workflows/togetherai.yml @@ -48,7 +48,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' run: hatch run fmt-check && hatch run test:types diff --git a/.github/workflows/unstructured.yml b/.github/workflows/unstructured.yml index 2ca4775ea5..e1e635fe57 100644 --- a/.github/workflows/unstructured.yml +++ b/.github/workflows/unstructured.yml @@ -60,7 +60,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/valkey.yml b/.github/workflows/valkey.yml index 26bc9e9395..d9d9739076 100644 --- a/.github/workflows/valkey.yml +++ b/.github/workflows/valkey.yml @@ -53,7 +53,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/watsonx.yml b/.github/workflows/watsonx.yml index 8544bb9be8..181b50eccd 100644 --- a/.github/workflows/watsonx.yml +++ b/.github/workflows/watsonx.yml @@ -49,7 +49,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/weave.yml b/.github/workflows/weave.yml index 5ca38c05ea..d662b48def 100644 --- a/.github/workflows/weave.yml +++ b/.github/workflows/weave.yml @@ -44,7 +44,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux' diff --git a/.github/workflows/weaviate.yml b/.github/workflows/weaviate.yml index 8f8052415c..b093deb39d 100644 --- a/.github/workflows/weaviate.yml +++ b/.github/workflows/weaviate.yml @@ -42,7 +42,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pip install --upgrade hatch + uses: pypa/hatch@install - name: Lint if: matrix.python-version == '3.10' && runner.os == 'Linux'