Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
ci: add os to key (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeeeT authored Dec 14, 2022
1 parent 22e2e5a commit d3b05fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
path: |
~/.cache
.venv
key: ${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
- name: Install Poetry
if: steps.cache.outputs.cache-hit != 'true'
uses: snok/[email protected]
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
# path: |
# ~/.cache
# .venv
# key: ${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
# key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
# - name: Restore mypy cache
# uses: actions/cache@v3
# with:
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
path: |
~/.cache
.venv
key: ${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
- name: Install Poetry
if: steps.cache.outputs.cache-hit != 'true'
uses: snok/[email protected]
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
path: |
~/.cache
.venv
key: ${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
- name: Install Poetry
if: steps.cache.outputs.cache-hit != 'true'
uses: snok/[email protected]
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
uses: actions/cache@v3
with:
path: .pytest_cache
key: ${{ runner.os }}-${{ matrix.python-version }}
key: pytest-${{ runner.os }}-${{ matrix.python-version }}
- name: Install Poetry
if: steps.cache.outputs.cache-hit != 'true'
uses: snok/[email protected]
Expand Down

0 comments on commit d3b05fb

Please sign in to comment.