Skip to content

Commit

Permalink
enh: add .mypy_cache to action cache [#patch] (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
notdodo authored Dec 21, 2024
1 parent 3da44e3 commit bd7e6f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ jobs:
# Comments works only when the workflow is called on `pull_request:`
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_ENABLE_UPLOAD_ARTIFACT: false
GITLEAKS_VERSION: latest
4 changes: 3 additions & 1 deletion .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ jobs:
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
# v4.2.0
with:
path: ${{ inputs.working-directory }}/.venv
path: |
${{ inputs.working-directory }}/.venv
${{ inputs.working-directory }}/.mypy_cache
key: python-${{ inputs.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
- run: poetry install --no-root
if: steps.cache-deps.outputs.cache-hit != 'true'
Expand Down

0 comments on commit bd7e6f1

Please sign in to comment.