Skip to content

The agent engineering platform.

Update to `actions/checkout@v4`. (#11951)

Predrag Gruevski95a1b598fefb
diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.yml
index 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@v4
with:
# 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.yml
index 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.yml
index 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.yml
index 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.yml
index 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 Dependencies
run: |
diff --git a/.github/workflows/langchain_ci.yml b/.github/workflows/langchain_ci.yml
index 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 tests
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/langchain_experimental_ci.yml b/.github/workflows/langchain_experimental_ci.yml
index 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 tests
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/scheduled_test.yml b/.github/workflows/scheduled_test.yml
index 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.yml
index 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 poetry
run: |
pipx install poetry==$POETRY_VERSION
diff --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.yml
index 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-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry==$POETRY_VERSION
- name: Set up Python 3.10
diff --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.yml
index 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: