Skip to content

Commit 35aafd5

Browse files
committed
Update branch names and cache in CI
1 parent 5158a4c commit 35aafd5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- develop
7-
- master
6+
- main
87
pull_request:
98

109
jobs:
@@ -26,8 +25,7 @@ jobs:
2625
uses: actions/cache@v2
2726
with:
2827
path: ~/.cache/pip
29-
key: pip-${{ hashFiles('requirements-dev.txt') }}
30-
restore-keys: pip-
28+
key: pip-python${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
3129

3230
- name: Execute linters and test suites
3331
run: ./scripts/cibuild

0 commit comments

Comments
 (0)