Skip to content

Commit 69eca57

Browse files
committed
Simplify cache check in github actions
1 parent 7073a7d commit 69eca57

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
cache-dependency-path: '**/pyproject.toml'
2222
- name: Install package with development dependencies
2323
run: pip install -e ".[dev]"
24-
if: steps.setup-python.outputs.cache-hit != 'true'
2524

2625
# check with ruff
2726
- name: Run ruff

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ jobs:
3232
cache: 'pip'
3333
cache-dependency-path: '**/pyproject.toml'
3434
- name: Install package with dependencies
35-
run: |
36-
pip install -e ".[test]"
37-
if: steps.setup-python.outputs.cache-hit != 'true'
35+
run: pip install -e ".[test]"
3836

3937
# for all versions but the one we use for code coverage, run normally
4038
- name: Run unit tests normally

0 commit comments

Comments
 (0)