Skip to content

Commit

Permalink
Add .pre-commit-config.yaml to cache-dependency-path for setup-py…
Browse files Browse the repository at this point in the history
…thon

- At least one of the file from `cache-dependency-path` must exist
  • Loading branch information
rmartin16 committed Nov 17, 2023
1 parent 90f94b8 commit 2cefb4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/app-build-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
cache-dependency-path: |
**/setup.cfg
**/pyproject.toml
.pre-commit-config.yaml
- name: Get Packages
# Briefcase will build and package itself in a previous step in its CI
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/app-create-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
cache-dependency-path: |
**/setup.cfg
**/pyproject.toml
.pre-commit-config.yaml
- name: Get Packages
# Briefcase will build and package itself in a previous step in its CI
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pre-commit-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
cache-dependency-path: |
**/setup.cfg
**/pyproject.toml
.pre-commit-config.yaml
- name: Install pre-commit
run: python -m pip install ${{ inputs.pre-commit-source || 'pre-commit' }}
Expand Down

0 comments on commit 2cefb4c

Please sign in to comment.