on master help sign in
Break CI cache
4a32851Blaž Hrastnik
.github/workflows/build.yml+9−9
@@ -28,19 +28,19 @@ jobs:
28 uses: actions/cache@v2.1.6
28 uses: actions/cache@v2.1.6
29 with:
29 with:
30 path: ~/.cargo/registry
30 path: ~/.cargo/registry
31− key: ${{ runner.os }}-v1-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
31+ key: ${{ runner.os }}-v2-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
32
32
33 - name: Cache cargo index
33 - name: Cache cargo index
34 uses: actions/cache@v2.1.6
34 uses: actions/cache@v2.1.6
35 with:
35 with:
36 path: ~/.cargo/git
36 path: ~/.cargo/git
37− key: ${{ runner.os }}-v1-cargo-index-${{ hashFiles('**/Cargo.lock') }}
37+ key: ${{ runner.os }}-v2-cargo-index-${{ hashFiles('**/Cargo.lock') }}
38
38
39 - name: Cache cargo target dir
39 - name: Cache cargo target dir
40 uses: actions/cache@v2.1.6
40 uses: actions/cache@v2.1.6
41 with:
41 with:
42 path: target
42 path: target
43− key: ${{ runner.os }}-v1-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
43+ key: ${{ runner.os }}-v2-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
44
44
45 - name: Run cargo check
45 - name: Run cargo check
46 uses: actions-rs/cargo@v1
46 uses: actions-rs/cargo@v1
@@ -67,19 +67,19 @@ jobs:
67 uses: actions/cache@v2.1.6
67 uses: actions/cache@v2.1.6
68 with:
68 with:
69 path: ~/.cargo/registry
69 path: ~/.cargo/registry
70− key: ${{ runner.os }}-v1-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
70+ key: ${{ runner.os }}-v2-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
71
71
72 - name: Cache cargo index
72 - name: Cache cargo index
73 uses: actions/cache@v2.1.6
73 uses: actions/cache@v2.1.6
74 with:
74 with:
75 path: ~/.cargo/git
75 path: ~/.cargo/git
76− key: ${{ runner.os }}-v1-cargo-index-${{ hashFiles('**/Cargo.lock') }}
76+ key: ${{ runner.os }}-v2-cargo-index-${{ hashFiles('**/Cargo.lock') }}
77
77
78 - name: Cache cargo target dir
78 - name: Cache cargo target dir
79 uses: actions/cache@v2.1.6
79 uses: actions/cache@v2.1.6
80 with:
80 with:
81 path: target
81 path: target
82− key: ${{ runner.os }}-v1-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
82+ key: ${{ runner.os }}-v2-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
83
83
84 - name: Run cargo test
84 - name: Run cargo test
85 uses: actions-rs/cargo@v1
85 uses: actions-rs/cargo@v1
@@ -112,19 +112,19 @@ jobs:
112 uses: actions/cache@v2.1.6
112 uses: actions/cache@v2.1.6
113 with:
113 with:
114 path: ~/.cargo/registry
114 path: ~/.cargo/registry
115− key: ${{ runner.os }}-v1-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
115+ key: ${{ runner.os }}-v2-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
116
116
117 - name: Cache cargo index
117 - name: Cache cargo index
118 uses: actions/cache@v2.1.6
118 uses: actions/cache@v2.1.6
119 with:
119 with:
120 path: ~/.cargo/git
120 path: ~/.cargo/git
121− key: ${{ runner.os }}-v1-cargo-index-${{ hashFiles('**/Cargo.lock') }}
121+ key: ${{ runner.os }}-v2-cargo-index-${{ hashFiles('**/Cargo.lock') }}
122
122
123 - name: Cache cargo target dir
123 - name: Cache cargo target dir
124 uses: actions/cache@v2.1.6
124 uses: actions/cache@v2.1.6
125 with:
125 with:
126 path: target
126 path: target
127− key: ${{ runner.os }}-v1-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
127+ key: ${{ runner.os }}-v2-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
128
128
129 - name: Run cargo fmt
129 - name: Run cargo fmt
130 uses: actions-rs/cargo@v1
130 uses: actions-rs/cargo@v1