mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
chore(ci): give the possibility to version cache and clear it
- will help resolve issues with poetry cache
This commit is contained in:
19
.github/workflows/continuous-integration.yaml
vendored
19
.github/workflows/continuous-integration.yaml
vendored
@@ -178,12 +178,13 @@ jobs:
|
||||
~/.cache/pip
|
||||
~/.cache/pypoetry
|
||||
# Ignore line break in the evaluated double quoted string
|
||||
key: "${{ runner.os }}-build-${{ matrix.python-version }}-\
|
||||
key: "${{ secrets.CACHE_VERSION }}-${{ runner.os }}-build-${{ matrix.python-version }}-\
|
||||
${{ hashFiles('poetry.lock') }}"
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ matrix.python-version }}-
|
||||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
${{ secrets.CACHE_VERSION }}-${{ runner.os }}-build-${{ matrix.python-version }}-
|
||||
${{ secrets.CACHE_VERSION }}-${{ runner.os }}-build-
|
||||
${{ secrets.CACHE_VERSION }}-${{ runner.os }}-
|
||||
${{ secrets.CACHE_VERSION }}-
|
||||
- name: Install dependencies
|
||||
id: install-deps
|
||||
run: |
|
||||
@@ -490,11 +491,13 @@ jobs:
|
||||
~/.cache/pip
|
||||
~/.cache/pypoetry
|
||||
# Use python 3.8 as it is the version available in ubuntu 20.04 and we develop with it
|
||||
key: "${{ runner.os }}-build-3.8-${{ hashFiles('poetry.lock') }}"
|
||||
key: "$${{ secrets.CACHE_VERSION }}-{{ runner.os }}-build-3.8-\
|
||||
${{ hashFiles('poetry.lock') }}"
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-3.8-
|
||||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
${{ secrets.CACHE_VERSION }}-${{ runner.os }}-build-3.8-
|
||||
${{ secrets.CACHE_VERSION }}-${{ runner.os }}-build-
|
||||
${{ secrets.CACHE_VERSION }}-${{ runner.os }}-
|
||||
${{ secrets.CACHE_VERSION }}-
|
||||
# See #570 To be updated to only install required dependencies group with poetry 1.2 and
|
||||
# remove graphviz installs which are only required for the actual package and not dev tools
|
||||
- name: Install dependencies
|
||||
|
||||
Reference in New Issue
Block a user