Skip to content

Commit

Permalink
fix cache check
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Aug 30, 2022
1 parent ef14895 commit b657607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
key: ${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('requirements/tests.txt') }}

- run: pip install -r requirements/tests.txt -r requirements/pyproject.txt
if: '!fromJSON(steps.cache.outputs.cache-hit)'
if: steps.cache.outputs.cache-hit != 'true'

- run: make test

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/linting.txt') }}-${{ hashFiles('pyproject.toml') }}

- run: pip install -r requirements/linting.txt
if: '!fromJSON(steps.cache.outputs.cache-hit)'
if: steps.cache.outputs.cache-hit != 'true'

- uses: pre-commit/action@v3.0.0
with:
Expand Down

0 comments on commit b657607

Please sign in to comment.