-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DIsable cache in pre-commit workflow step (#461)
* DIsable cache in pre-commit workflow step * add comment why not cache env
- Loading branch information
1 parent
ffd9c84
commit 98d0327
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,6 @@ jobs: | |
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.8" | ||
cache: pip | ||
|
||
- uses: pre-commit/[email protected] | ||
with: | ||
|
@@ -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] | ||
|
@@ -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: | ||
|