File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 17
17
- uses : actions/checkout@master
18
18
- name : Convert symlinks to hardlink (windows only)
19
19
run : powershell.exe scripts/symlinks-to-hardlinks.ps1
20
- if : matrix.os == 'windows-latest'
20
+ if : runner.os == 'Windows'
21
+ - name : Cache cargo dependencies
22
+ uses : actions/cache@v1
23
+ with :
24
+ key : ${{ runner.os }}-rust_tests-${{ hashFiles('Cargo.lock') }}
25
+ path : target
26
+ restore-keys : |
27
+ ${{ runner.os }}-rust_tests-
21
28
- name : run rust tests
22
29
uses : actions-rs/cargo@v1
23
30
with :
35
42
- uses : actions/checkout@master
36
43
- name : Convert symlinks to hardlink (windows only)
37
44
run : powershell.exe scripts/symlinks-to-hardlinks.ps1
38
- if : matrix.os == 'windows-latest'
45
+ if : runner.os == 'Windows'
46
+ - name : Cache cargo dependencies
47
+ uses : actions/cache@v1
48
+ with :
49
+ key : ${{ runner.os }}-snippets-${{ hashFiles('Cargo.lock') }}
50
+ path : target
51
+ restore-keys : |
52
+ ${{ runner.os }}-snippets-
39
53
- name : build rustpython
40
54
uses : actions-rs/cargo@v1
41
55
with :
You can’t perform that action at this time.
0 commit comments