Skip to content

Commit

Permalink
Disable cache to not fail CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rai220 committed Oct 8, 2024
1 parent 80a7efc commit 26aa069
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ jobs:
run: |
poetry run pip install -e "$LANGCHAIN_LOCATION"
- name: Get .mypy_cache to speed up mypy
uses: actions/cache@v4
env:
SEGMENT_DOWNLOAD_TIMEOUT_MIN: "2"
with:
path: |
${{ env.WORKDIR }}/.mypy_cache
key: mypy-lint-${{ runner.os }}-${{ runner.arch }}-py${{ inputs.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}
# - name: Get .mypy_cache to speed up mypy
# uses: actions/cache@v4
# env:
# SEGMENT_DOWNLOAD_TIMEOUT_MIN: "2"
# with:
# path: |
# ${{ env.WORKDIR }}/.mypy_cache
# key: mypy-lint-${{ runner.os }}-${{ runner.arch }}-py${{ inputs.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}


- name: Analysing the code with our lint
Expand All @@ -105,14 +105,14 @@ jobs:
run: |
poetry install --with test,test_integration
- name: Get .mypy_cache_test to speed up mypy
uses: actions/cache@v4
env:
SEGMENT_DOWNLOAD_TIMEOUT_MIN: "2"
with:
path: |
${{ env.WORKDIR }}/.mypy_cache_test
key: mypy-test-${{ runner.os }}-${{ runner.arch }}-py${{ inputs.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}
# - name: Get .mypy_cache_test to speed up mypy
# uses: actions/cache@v4
# env:
# SEGMENT_DOWNLOAD_TIMEOUT_MIN: "2"
# with:
# path: |
# ${{ env.WORKDIR }}/.mypy_cache_test
# key: mypy-test-${{ runner.os }}-${{ runner.arch }}-py${{ inputs.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}

- name: Analysing the code with our lint
working-directory: ${{ inputs.working-directory }}
Expand Down

0 comments on commit 26aa069

Please sign in to comment.