Skip to content

Commit ec3de8d

Browse files
authored
Update ci.yml
1 parent 4584deb commit ec3de8d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main, second-branch ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ main, second-branch ]
88

99
jobs:
1010
lint:
@@ -23,7 +23,9 @@ jobs:
2323
uses: actions/cache@v3
2424
with:
2525
path: ~/.cache/pip
26-
key: ${{ runner.os }}-pip-ruff-v1
26+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
27+
restore-keys: |
28+
${{ runner.os }}-pip-
2729
2830
- name: Install dependencies
2931
run: |

0 commit comments

Comments
 (0)