Skip to content

Commit 40425d6

Browse files
committed
Auto merge of #2531 - imbsky:actions-cache-v2, r=JohnTitor
Bump actions/cache from v1 to v2 We just released v2. That includes a lot of improvements. https://github.com/actions/cache/releases/tag/v2.0.0
2 parents 8e9baef + 46eadc3 commit 40425d6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v2
2626

27-
- uses: actions/cache@v1
27+
- uses: actions/cache@v2
2828
with:
2929
path: ~/.npm
3030
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -91,14 +91,14 @@ jobs:
9191
#
9292
# Current size as of 2019-12-23: ~6 MB
9393
- name: Cache cargo binaries
94-
uses: actions/cache@v1
94+
uses: actions/cache@v2
9595
with:
9696
path: ~/.cargo/bin
9797
key: ${{ runner.os }}-cargo-bin-${{ matrix.rust }}-${{ hashFiles('.diesel_version') }}
9898

9999
# Current size as of 2019-12-23: ~77 MB
100100
- name: Cache cargo registry cache
101-
uses: actions/cache@v1
101+
uses: actions/cache@v2
102102
with:
103103
path: ~/.cargo/registry/cache
104104
key: ${{ runner.os }}-cargo-registry-cache-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
@@ -108,7 +108,7 @@ jobs:
108108
109109
# Current size as of 2019-12-23: ~38 MB
110110
- name: Cache cargo registry index
111-
uses: actions/cache@v1
111+
uses: actions/cache@v2
112112
with:
113113
path: ~/.cargo/registry/index
114114
key: ${{ runner.os }}-cargo-registry-index-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
@@ -118,7 +118,7 @@ jobs:
118118
119119
# Current size as of 2019-12-23: ~4 MB
120120
- name: Cache cargo git db
121-
uses: actions/cache@v1
121+
uses: actions/cache@v2
122122
with:
123123
path: ~/.cargo/git/db
124124
key: ${{ runner.os }}-cargo-git-db-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
@@ -148,7 +148,7 @@ jobs:
148148

149149
# Current size as of 2019-12-23: ~336 MB
150150
- name: Cache cargo build
151-
uses: actions/cache@v1
151+
uses: actions/cache@v2
152152
with:
153153
path: target
154154
key: ${{ runner.os }}-cargo-build-target-${{ steps.rustc.outputs.version }}-${{ hashFiles('**/Cargo.lock') }}

0 commit comments

Comments
 (0)