File tree Expand file tree Collapse file tree 7 files changed +56
-28
lines changed Expand file tree Collapse file tree 7 files changed +56
-28
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,17 @@ jobs:
54
54
uses : actions/cache@v1
55
55
with :
56
56
path : ~/.cargo/registry
57
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
58
- - name : Cache cargo index
57
+ key : ${{ runner.os }}-cargo-registry-trimmed- ${{ hashFiles('**/Cargo.lock') }}
58
+ - name : Cache cargo git trees
59
59
uses : actions/cache@v1
60
60
with :
61
61
path : ~/.cargo/git
62
- key : ${{ runner.os }}-cargo-index -${{ hashFiles('**/Cargo.lock') }}
62
+ key : ${{ runner.os }}-cargo-gits-trimmed -${{ hashFiles('**/Cargo.lock') }}
63
63
- name : Cache cargo build
64
64
uses : actions/cache@v1
65
65
with :
66
66
path : target
67
- key : ${{ runner.os }}-cargo-build-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
67
+ key : ${{ runner.os }}-cargo-build-trimmed- ${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
68
68
- name : Install Rustup using ./rustup-init.sh
69
69
run : |
70
70
sh ./rustup-init.sh --default-toolchain=none --profile=minimal -y
@@ -130,3 +130,7 @@ jobs:
130
130
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
131
131
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
132
132
if : github.event_name == 'push' && github.ref == 'refs/heads/stable'
133
+ - name : Clear the cargo caches
134
+ run : |
135
+ cargo install cargo-cache --no-default-features --features ci-autoclean
136
+ cargo-cache
Original file line number Diff line number Diff line change @@ -49,17 +49,17 @@ jobs:
49
49
uses : actions/cache@v1
50
50
with :
51
51
path : ~/.cargo/registry
52
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
53
- - name : Cache cargo index
52
+ key : ${{ runner.os }}-cargo-registry-trimmed- ${{ hashFiles('**/Cargo.lock') }}
53
+ - name : Cache cargo git trees
54
54
uses : actions/cache@v1
55
55
with :
56
56
path : ~/.cargo/git
57
- key : ${{ runner.os }}-cargo-index -${{ hashFiles('**/Cargo.lock') }}
57
+ key : ${{ runner.os }}-cargo-gits-trimmed -${{ hashFiles('**/Cargo.lock') }}
58
58
- name : Cache cargo build
59
59
uses : actions/cache@v1
60
60
with :
61
61
path : target
62
- key : ${{ runner.os }}-cargo-build-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
62
+ key : ${{ runner.os }}-cargo-build-trimmed- ${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
63
63
- name : Install Rustup using ./rustup-init.sh
64
64
run : |
65
65
sh ./rustup-init.sh --default-toolchain=none --profile=minimal -y
@@ -125,3 +125,7 @@ jobs:
125
125
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
126
126
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
127
127
if : github.event_name == 'push' && github.ref == 'refs/heads/stable'
128
+ - name : Clear the cargo caches
129
+ run : |
130
+ cargo install cargo-cache --no-default-features --features ci-autoclean
131
+ cargo-cache
Original file line number Diff line number Diff line change @@ -68,17 +68,17 @@ jobs:
68
68
uses : actions/cache@v1
69
69
with :
70
70
path : ~/.cargo/registry
71
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
72
- - name : Cache cargo index
71
+ key : ${{ runner.os }}-cargo-registry-trimmed- ${{ hashFiles('**/Cargo.lock') }}
72
+ - name : Cache cargo git trees
73
73
uses : actions/cache@v1
74
74
with :
75
75
path : ~/.cargo/git
76
- key : ${{ runner.os }}-cargo-index -${{ hashFiles('**/Cargo.lock') }}
76
+ key : ${{ runner.os }}-cargo-gits-trimmed -${{ hashFiles('**/Cargo.lock') }}
77
77
- name : Cache cargo build
78
78
uses : actions/cache@v1
79
79
with :
80
80
path : target
81
- key : ${{ runner.os }}-cargo-build-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
81
+ key : ${{ runner.os }}-cargo-build-trimmed- ${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
82
82
- name : Install Rustup using ./rustup-init.sh
83
83
run : |
84
84
sh ./rustup-init.sh --default-toolchain=none --profile=minimal -y
@@ -144,3 +144,7 @@ jobs:
144
144
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
145
145
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
146
146
if : github.event_name == 'push' && github.ref == 'refs/heads/stable'
147
+ - name : Clear the cargo caches
148
+ run : |
149
+ cargo install cargo-cache --no-default-features --features ci-autoclean
150
+ cargo-cache
Original file line number Diff line number Diff line change @@ -45,17 +45,17 @@ jobs:
45
45
uses : actions/cache@v1
46
46
with :
47
47
path : ~/.cargo/registry
48
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
49
- - name : Cache cargo index
48
+ key : ${{ runner.os }}-cargo-registry-trimmed- ${{ hashFiles('**/Cargo.lock') }}
49
+ - name : Cache cargo git trees
50
50
uses : actions/cache@v1
51
51
with :
52
52
path : ~/.cargo/git
53
- key : ${{ runner.os }}-cargo-index -${{ hashFiles('**/Cargo.lock') }}
53
+ key : ${{ runner.os }}-cargo-gits-trimmed -${{ hashFiles('**/Cargo.lock') }}
54
54
- name : Cache cargo build
55
55
uses : actions/cache@v1
56
56
with :
57
57
path : target
58
- key : ${{ runner.os }}-cargo-build-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
58
+ key : ${{ runner.os }}-cargo-build-trimmed- ${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
59
59
- name : Install Rustup using ./rustup-init.sh
60
60
run : |
61
61
sh ./rustup-init.sh --default-toolchain=stable --profile=minimal -y
77
77
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
78
78
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
79
79
if : github.event_name == 'push' && github.ref == 'refs/heads/stable'
80
+ - name : Clear the cargo caches
81
+ run : |
82
+ cargo install cargo-cache --no-default-features --features ci-autoclean
83
+ cargo-cache
Original file line number Diff line number Diff line change @@ -67,17 +67,17 @@ jobs:
67
67
uses : actions/cache@v1
68
68
with :
69
69
path : ~/.cargo/registry
70
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
71
- - name : Cache cargo index
70
+ key : ${{ runner.os }}-cargo-registry-trimmed- ${{ hashFiles('**/Cargo.lock') }}
71
+ - name : Cache cargo git trees
72
72
uses : actions/cache@v1
73
73
with :
74
74
path : ~/.cargo/git
75
- key : ${{ runner.os }}-cargo-index -${{ hashFiles('**/Cargo.lock') }}
75
+ key : ${{ runner.os }}-cargo-gits-trimmed -${{ hashFiles('**/Cargo.lock') }}
76
76
- name : Cache cargo build
77
77
uses : actions/cache@v1
78
78
with :
79
79
path : target
80
- key : ${{ runner.os }}-cargo-build-static-crt-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
80
+ key : ${{ runner.os }}-cargo-build-static-crt-trimmed- ${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
81
81
- name : Install Rustup using win.rustup.rs
82
82
run : |
83
83
# Disable the download progress bar which can cause perf issues
@@ -172,3 +172,7 @@ jobs:
172
172
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
173
173
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
174
174
if : github.event_name == 'push' && github.ref == 'refs/heads/stable'
175
+ - name : Clear the cargo caches
176
+ run : |
177
+ cargo install cargo-cache --no-default-features --features ci-autoclean
178
+ cargo-cache
Original file line number Diff line number Diff line change @@ -64,17 +64,17 @@ jobs:
64
64
uses : actions/cache@v1
65
65
with :
66
66
path : ~/.cargo/registry
67
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
68
- - name : Cache cargo index
67
+ key : ${{ runner.os }}-cargo-registry-trimmed- ${{ hashFiles('**/Cargo.lock') }}
68
+ - name : Cache cargo git trees
69
69
uses : actions/cache@v1
70
70
with :
71
71
path : ~/.cargo/git
72
- key : ${{ runner.os }}-cargo-index -${{ hashFiles('**/Cargo.lock') }}
72
+ key : ${{ runner.os }}-cargo-gits-trimmed -${{ hashFiles('**/Cargo.lock') }}
73
73
- name : Cache cargo build
74
74
uses : actions/cache@v1
75
75
with :
76
76
path : target
77
- key : ${{ runner.os }}-cargo-build-static-crt-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
77
+ key : ${{ runner.os }}-cargo-build-static-crt-trimmed- ${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
78
78
- name : Install Rustup using win.rustup.rs
79
79
run : |
80
80
# Disable the download progress bar which can cause perf issues
@@ -169,3 +169,7 @@ jobs:
169
169
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
170
170
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
171
171
if : github.event_name == 'push' && github.ref == 'refs/heads/stable'
172
+ - name : Clear the cargo caches
173
+ run : |
174
+ cargo install cargo-cache --no-default-features --features ci-autoclean
175
+ cargo-cache
Original file line number Diff line number Diff line change @@ -67,17 +67,17 @@ jobs:
67
67
uses : actions/cache@v1
68
68
with :
69
69
path : ~/.cargo/registry
70
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
71
- - name : Cache cargo index
70
+ key : ${{ runner.os }}-cargo-registry-trimmed- ${{ hashFiles('**/Cargo.lock') }}
71
+ - name : Cache cargo git trees
72
72
uses : actions/cache@v1
73
73
with :
74
74
path : ~/.cargo/git
75
- key : ${{ runner.os }}-cargo-index -${{ hashFiles('**/Cargo.lock') }}
75
+ key : ${{ runner.os }}-cargo-gits-trimmed -${{ hashFiles('**/Cargo.lock') }}
76
76
- name : Cache cargo build
77
77
uses : actions/cache@v1
78
78
with :
79
79
path : target
80
- key : ${{ runner.os }}-cargo-build-static-crt-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
80
+ key : ${{ runner.os }}-cargo-build-static-crt-trimmed- ${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
81
81
- name : Install Rustup using win.rustup.rs
82
82
run : |
83
83
# Disable the download progress bar which can cause perf issues
@@ -172,3 +172,7 @@ jobs:
172
172
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
173
173
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
174
174
if : github.event_name == 'push' && github.ref == 'refs/heads/stable'
175
+ - name : Clear the cargo caches
176
+ run : |
177
+ cargo install cargo-cache --no-default-features --features ci-autoclean
178
+ cargo-cache
You can’t perform that action at this time.
0 commit comments