The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Update to `actions/checkout@v4`. (#11951)
Predrag Gruevski95a1b598fefb
diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.ymlindex e7cbfa2d22..e4ea3d220f 100644--- a/.github/workflows/_lint.yml+++ b/.github/workflows/_lint.yml@@ -34,7 +34,7 @@ jobs:- "3.8"- "3.11"steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4with:# Fetch the last FETCH_DEPTH commits, so the mtime-changing script# can accurately set the mtimes of files modified in the last FETCH_DEPTH commits.diff --git a/.github/workflows/_pydantic_compatibility.yml b/.github/workflows/_pydantic_compatibility.ymlindex 3287a4d813..8948836237 100644--- a/.github/workflows/_pydantic_compatibility.yml+++ b/.github/workflows/_pydantic_compatibility.yml@@ -26,7 +26,7 @@ jobs:- "3.11"name: Pydantic v1/v2 compatibility - Python ${{ matrix.python-version }}steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}uses: "./.github/actions/poetry_setup"diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.ymlindex 38c701052e..4f95b09fe6 100644--- a/.github/workflows/_release.yml+++ b/.github/workflows/_release.yml@@ -30,7 +30,7 @@ jobs:run:working-directory: ${{ inputs.working-directory }}steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Set up Python + Poetry ${{ env.POETRY_VERSION }}uses: "./.github/actions/poetry_setup"diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.ymlindex 61670014fd..d296bb915f 100644--- a/.github/workflows/_test.yml+++ b/.github/workflows/_test.yml@@ -26,7 +26,7 @@ jobs:- "3.11"name: Python ${{ matrix.python-version }}steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}uses: "./.github/actions/poetry_setup"diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.ymlindex 50a22e4cb0..82474e9289 100644--- a/.github/workflows/codespell.yml+++ b/.github/workflows/codespell.yml@@ -17,7 +17,7 @@ jobs:steps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@v4- name: Install Dependenciesrun: |diff --git a/.github/workflows/langchain_ci.yml b/.github/workflows/langchain_ci.ymlindex 046de2258b..cd472f2b19 100644--- a/.github/workflows/langchain_ci.yml+++ b/.github/workflows/langchain_ci.yml@@ -65,7 +65,7 @@ jobs:- "3.11"name: Python ${{ matrix.python-version }} extended testssteps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}uses: "./.github/actions/poetry_setup"diff --git a/.github/workflows/langchain_experimental_ci.yml b/.github/workflows/langchain_experimental_ci.ymlindex 8641a915e1..49029872fe 100644--- a/.github/workflows/langchain_experimental_ci.yml+++ b/.github/workflows/langchain_experimental_ci.yml@@ -62,7 +62,7 @@ jobs:- "3.11"name: test with unpublished langchain - Python ${{ matrix.python-version }}steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}uses: "./.github/actions/poetry_setup"@@ -97,7 +97,7 @@ jobs:- "3.11"name: Python ${{ matrix.python-version }} extended testssteps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}uses: "./.github/actions/poetry_setup"diff --git a/.github/workflows/scheduled_test.yml b/.github/workflows/scheduled_test.ymlindex 44de47155c..116fd50328 100644--- a/.github/workflows/scheduled_test.yml+++ b/.github/workflows/scheduled_test.yml@@ -24,7 +24,7 @@ jobs:- "3.11"name: Python ${{ matrix.python-version }}steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Set up Python ${{ matrix.python-version }}uses: "./.github/actions/poetry_setup"diff --git a/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/lint.yml b/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/lint.ymlindex c3e4375fc8..6c84beec33 100644--- a/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/lint.yml+++ b/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/lint.yml@@ -19,7 +19,7 @@ jobs:- "3.10"- "3.11"steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Install poetryrun: |pipx install poetry==$POETRY_VERSIONdiff --git a/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/release.yml b/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/release.ymlindex 85b387b27b..d06bc0a0de 100644--- a/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/release.yml+++ b/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/release.yml@@ -19,7 +19,7 @@ jobs:&& ${{ contains(github.event.pull_request.labels.*.name, 'release') }}runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Install poetryrun: pipx install poetry==$POETRY_VERSION- name: Set up Python 3.10diff --git a/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/test.yml b/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/test.ymlindex 5138aaa0fb..9f2dc96687 100644--- a/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/test.yml+++ b/libs/langchain/langchain/cli/create_repo/templates/poetry/.github/workflows/test.yml@@ -21,7 +21,7 @@ jobs:- "3.11"name: Python ${{ matrix.python-version }}steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Set up Python ${{ matrix.python-version }}uses: "./.github/actions/poetry_setup"with: