mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-05 22:53:30 +00:00
infra: Undo gh cache removal (#21210)
Co-authored-by: Nuno Campos <nuno@langchain.dev>
This commit is contained in:
parent
ee2c55ca09
commit
b00fd1dbde
34
.github/workflows/_lint.yml
vendored
34
.github/workflows/_lint.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
poetry-version: ${{ env.POETRY_VERSION }}
|
poetry-version: ${{ env.POETRY_VERSION }}
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
# cache-key: lint-with-extras
|
cache-key: lint-with-extras
|
||||||
|
|
||||||
- name: Check Poetry File
|
- name: Check Poetry File
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -79,14 +79,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
poetry run pip install -e "$LANGCHAIN_LOCATION"
|
poetry run pip install -e "$LANGCHAIN_LOCATION"
|
||||||
|
|
||||||
# - name: Get .mypy_cache to speed up mypy
|
- name: Get .mypy_cache to speed up mypy
|
||||||
# uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
# env:
|
env:
|
||||||
# SEGMENT_DOWNLOAD_TIMEOUT_MIN: "2"
|
SEGMENT_DOWNLOAD_TIMEOUT_MIN: "2"
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# ${{ env.WORKDIR }}/.mypy_cache
|
${{ env.WORKDIR }}/.mypy_cache
|
||||||
# key: mypy-lint-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}
|
key: mypy-lint-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}
|
||||||
|
|
||||||
|
|
||||||
- name: Analysing the code with our lint
|
- name: Analysing the code with our lint
|
||||||
@ -113,14 +113,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
poetry install --with test,test_integration
|
poetry install --with test,test_integration
|
||||||
|
|
||||||
# - name: Get .mypy_cache_test to speed up mypy
|
- name: Get .mypy_cache_test to speed up mypy
|
||||||
# uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
# env:
|
env:
|
||||||
# SEGMENT_DOWNLOAD_TIMEOUT_MIN: "2"
|
SEGMENT_DOWNLOAD_TIMEOUT_MIN: "2"
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# ${{ env.WORKDIR }}/.mypy_cache_test
|
${{ env.WORKDIR }}/.mypy_cache_test
|
||||||
# key: mypy-test-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}
|
key: mypy-test-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}
|
||||||
|
|
||||||
- name: Analysing the code with our lint
|
- name: Analysing the code with our lint
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
Loading…
Reference in New Issue
Block a user