Skip to content

Commit

Permalink
Fix CI venv caching
Browse files Browse the repository at this point in the history
Chore update requirements
  • Loading branch information
kamilkrzyskow committed Feb 13, 2024
1 parent 271c8db commit b6ea0a1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dev.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
# 0 is needed for the update time plugin to work properly
fetch-depth: 0
- name: Install Python
id: install-python
uses: actions/setup-python@v5
with:
python-version: 3.12
Expand All @@ -30,7 +31,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: requirements-${{ hashFiles('requirements*.txt') }}
key: requirements-${{ steps.install-python.outputs.python-version }}-${{ hashFiles('requirements*.txt') }}
- name: Install Uncached Requirements
if: steps.cache-requirements.outputs.cache-hit != 'true'
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/master.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
# 0 is needed for the update time plugin to work properly
fetch-depth: 0
- name: Install Python
id: install-python
uses: actions/setup-python@v5
with:
python-version: 3.12
Expand All @@ -29,7 +30,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: requirements-${{ hashFiles('requirements*.txt') }}
key: requirements-${{ steps.install-python.outputs.python-version }}-${{ hashFiles('requirements*.txt') }}
- name: Install Uncached Requirements
if: steps.cache-requirements.outputs.cache-hit != 'true'
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pull.request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
# 0 is needed for the update time plugin to work properly
fetch-depth: 1
- name: Install Python
id: install-python
uses: actions/setup-python@v5
with:
python-version: 3.12
Expand All @@ -29,7 +30,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: requirements-${{ hashFiles('requirements*.txt') }}
key: requirements-${{ steps.install-python.outputs.python-version }}-${{ hashFiles('requirements*.txt') }}
- name: Install Uncached Requirements
if: steps.cache-requirements.outputs.cache-hit != 'true'
run: |
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Core Requirements
mkdocs-material==9.5.8
mkdocs-material==9.5.9
mkdocs-git-revision-date-localized-plugin==1.2.1
mkdocs-video==1.5.0
mkdocs-redirects==1.2.1
Expand Down

0 comments on commit b6ea0a1

Please sign in to comment.