Skip to content

Commit 003a859

Browse files
authored
Merge branch 'main' into main
2 parents 3e7893e + 1b6bf39 commit 003a859

File tree

7 files changed

+21
-0
lines changed

7 files changed

+21
-0
lines changed

.github/actions/build_debug/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ runs:
2121
target: ${{ matrix.config.target }}
2222
components: rustfmt, clippy
2323

24+
# If you need to reset the cache version, increment the number after `v`
2425
- uses: Swatinem/rust-cache@v1
26+
with:
27+
sharedKey: debug-v1
2528

2629
- uses: actions-rs/cargo@v1
2730
with:

.github/actions/build_release/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ runs:
2121
target: ${{ matrix.config.target }}
2222
components: rustfmt, clippy
2323

24+
# If you need to reset the cache version, increment the number after `v`
2425
- uses: Swatinem/rust-cache@v1
26+
with:
27+
sharedKey: release-v1
2528

2629
- name: Build Databend
2730
uses: actions-rs/cargo@v1

.github/actions/check/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ runs:
2020
with:
2121
components: rustfmt, clippy
2222

23+
# If you need to reset the cache version, increment the number after `v`
2324
- uses: Swatinem/rust-cache@v1
25+
with:
26+
sharedKey: base-v1
2427

2528
- name: Format
2629
uses: actions-rs/cargo@v1

.github/actions/test_stateful_standalone/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ runs:
1212
with:
1313
target: ${{ matrix.config.target }}
1414

15+
# If you need to reset the cache version, increment the number after `v`
1516
- uses: Swatinem/rust-cache@v1
17+
with:
18+
sharedKey: stateful-v1
1619

1720
- uses: actions/download-artifact@v2
1821
with:

.github/actions/test_stateless_cluster/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ runs:
1212
with:
1313
target: ${{ matrix.config.target }}
1414

15+
# If you need to reset the cache version, increment the number after `v`
1516
- uses: Swatinem/rust-cache@v1
17+
with:
18+
sharedKey: stateless-v1
1619

1720
- uses: actions/download-artifact@v2
1821
with:

.github/actions/test_stateless_standalone/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ runs:
1313
toolchain: ${{ matrix.config.toolchain }}
1414
target: ${{ matrix.config.target }}
1515

16+
# If you need to reset the cache version, increment the number after `v`
1617
- uses: Swatinem/rust-cache@v1
18+
with:
19+
sharedKey: stateless-v1
1720

1821
- uses: actions/download-artifact@v2
1922
with:

.github/actions/test_unit/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ runs:
2626
target: ${{ matrix.config.target }}
2727
components: rustfmt, clippy
2828

29+
# If you need to reset the cache version, increment the number after `v`
2930
- uses: Swatinem/rust-cache@v1
31+
with:
32+
sharedKey: unit-v1
3033

3134
- name: Test
3235
uses: actions-rs/cargo@v1

0 commit comments

Comments
 (0)