24
24
steps :
25
25
- uses : actions/checkout@v2
26
26
27
- - uses : actions/cache@v1
27
+ - uses : actions/cache@v2
28
28
with :
29
29
path : ~/.npm
30
30
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -91,14 +91,14 @@ jobs:
91
91
#
92
92
# Current size as of 2019-12-23: ~6 MB
93
93
- name : Cache cargo binaries
94
- uses : actions/cache@v1
94
+ uses : actions/cache@v2
95
95
with :
96
96
path : ~/.cargo/bin
97
97
key : ${{ runner.os }}-cargo-bin-${{ matrix.rust }}-${{ hashFiles('.diesel_version') }}
98
98
99
99
# Current size as of 2019-12-23: ~77 MB
100
100
- name : Cache cargo registry cache
101
- uses : actions/cache@v1
101
+ uses : actions/cache@v2
102
102
with :
103
103
path : ~/.cargo/registry/cache
104
104
key : ${{ runner.os }}-cargo-registry-cache-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
@@ -108,7 +108,7 @@ jobs:
108
108
109
109
# Current size as of 2019-12-23: ~38 MB
110
110
- name : Cache cargo registry index
111
- uses : actions/cache@v1
111
+ uses : actions/cache@v2
112
112
with :
113
113
path : ~/.cargo/registry/index
114
114
key : ${{ runner.os }}-cargo-registry-index-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
@@ -118,7 +118,7 @@ jobs:
118
118
119
119
# Current size as of 2019-12-23: ~4 MB
120
120
- name : Cache cargo git db
121
- uses : actions/cache@v1
121
+ uses : actions/cache@v2
122
122
with :
123
123
path : ~/.cargo/git/db
124
124
key : ${{ runner.os }}-cargo-git-db-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
@@ -148,7 +148,7 @@ jobs:
148
148
149
149
# Current size as of 2019-12-23: ~336 MB
150
150
- name : Cache cargo build
151
- uses : actions/cache@v1
151
+ uses : actions/cache@v2
152
152
with :
153
153
path : target
154
154
key : ${{ runner.os }}-cargo-build-target-${{ steps.rustc.outputs.version }}-${{ hashFiles('**/Cargo.lock') }}
0 commit comments