Skip to content

Commit

Permalink
DIsable cache in pre-commit workflow step (#461)
Browse files Browse the repository at this point in the history
* DIsable cache in pre-commit workflow step

* add comment why not cache env
  • Loading branch information
zigaLuksic authored May 8, 2023
1 parent ffd9c84 commit 98d0327
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: pip

- uses: pre-commit/[email protected]
with:
Expand All @@ -50,7 +49,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: pip
cache: pip # caching the entire environment is faster when cache exists but slower for cache creation

- name: Install packages
run: pip install --upgrade --upgrade-strategy eager -e .[AWS,DEV]
Expand All @@ -59,7 +58,7 @@ jobs:
run: mypy sentinelhub

- name: Run pylint
if: success() || failure() # always() has the issue that it also runs when cancelled
if: success() || failure() # always() has the issue that it also runs when the workflow is cancelled
run: pylint sentinelhub

test-on-github:
Expand Down

0 comments on commit 98d0327

Please sign in to comment.