Skip to content

Commit 4b4fd90

Browse files
authored
Update pre-commit_autoupdate.yml
1 parent ab25075 commit 4b4fd90

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pre-commit_autoupdate.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ jobs:
44
steps:
55
- uses: actions/checkout@v2
66
- uses: actions/setup-python@v2
7+
- uses: actions/cache@v1
8+
with:
9+
key: v0-${{ runner.os }}-pip-lint-${{ hashFiles('setup.py') }}
10+
path: ~/.cache/pip
11+
restore-keys: |
12+
v0-${{ runner.os }}-pip-lint-
13+
v0-${{ runner.os }}-pip-
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
pip install .[lint]
718
- uses: browniebroke/pre-commit-autoupdate-action@main
819
- uses: peter-evans/create-pull-request@v3
920
with:

0 commit comments

Comments
 (0)