File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 22
22
if : startsWith(matrix.os, 'ubuntu-')
23
23
run : sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc
24
24
25
+ - name : Cache dependencies
26
+ uses : actions/cache@v3
27
+ with :
28
+ path : ~/.cache/pip
29
+ key : ${{ runner.os }}-build-wheels-${{ hashFiles('setup.cfg', 'setup.py') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-build-wheels-
32
+
25
33
- name : Install required system packages for macOS
26
34
if : startsWith(matrix.os, 'macos-')
27
35
run : |
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Test code quality
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - main
7
5
pull_request :
8
6
branches :
9
7
- main
18
16
- name : Workaround github issue https://github.com/actions/runner-images/issues/7192
19
17
run : sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc
20
18
19
+ - name : Cache dependencies
20
+ uses : actions/cache@v3
21
+ with :
22
+ path : ~/.cache/pip
23
+ key : ${{ runner.os }}-code-quality-${{ hashFiles('setup.cfg', 'setup.py') }}
24
+ restore-keys : |
25
+ ${{ runner.os }}-code-quality-
26
+
21
27
- name : Install required system packages only for Ubuntu Linux
22
28
run : |
23
29
sudo apt-get update
You can’t perform that action at this time.
0 commit comments