diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 8a9d349f..e1aab2cf 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -25,12 +25,9 @@ jobs: uses: actions/cache@v2 with: path: ~/.cache/pip - key: ${{ runner.os }}-deps-${{ matrix.python }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('**/*.py') }} + key: ${{ runner.os }}-deps-${{ matrix.python }}-${{ hashFiles('src/app/requirements.txt') }}-${{ hashFiles('**/*.py') }} restore-keys: | - ${{ runner.os }}-deps-${{ matrix.python }}-${{ hashFiles('requirements.txt') }}- - ${{ runner.os }}-deps-${{ matrix.python }}- - ${{ runner.os }}-deps- - ${{ runner.os }}- + ${{ runner.os }}-deps-${{ matrix.python }}-${{ hashFiles('src/app/requirements.txt') }}- - name: Install project run: | python -m pip install --upgrade pip diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index c965a1e4..a604e2b4 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -63,10 +63,9 @@ jobs: uses: actions/cache@v2 with: path: ~/.cache/pip - key: ${{ runner.os }}-pkg-deps-${{ matrix.python }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('src/**/*.py') }} + key: ${{ runner.os }}-pkg-deps-${{ matrix.python }}-${{ hashFiles('src/app/requirements.txt') }}-${{ hashFiles('src/**/*.py') }} restore-keys: | - ${{ runner.os }}-pkg-deps-${{ matrix.python }}-${{ hashFiles('requirements.txt') }}- - ${{ runner.os }}-pkg-deps-${{ matrix.python }}- + ${{ runner.os }}-pkg-deps-${{ matrix.python }}-${{ hashFiles('src/app/requirements.txt') }}- - name: Install dependencies run: | python -m pip install --upgrade pip @@ -97,7 +96,6 @@ jobs: key: ${{ runner.os }}-pkg-deps-${{ matrix.python }}-${{ hashFiles('client/requirements.txt') }}-${{ hashFiles('client/**/*.py') }} restore-keys: | ${{ runner.os }}-pkg-deps-${{ matrix.python }}-${{ hashFiles('client/requirements.txt') }}- - ${{ runner.os }}-pkg-deps-${{ matrix.python }}- - name: Install dependencies run: | python -m pip install --upgrade pip