Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] try to add sharedkey and resetkey #3687

Merged
merged 4 commits into from
Dec 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/actions/build_debug/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ runs:
target: ${{ matrix.config.target }}
components: rustfmt, clippy

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

- uses: actions-rs/cargo@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/build_release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ runs:
target: ${{ matrix.config.target }}
components: rustfmt, clippy

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

- name: Build Databend
uses: actions-rs/cargo@v1
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ runs:
with:
components: rustfmt, clippy

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

- name: Format
uses: actions-rs/cargo@v1
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/test_stateful_standalone/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ runs:
with:
target: ${{ matrix.config.target }}

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

- uses: actions/download-artifact@v2
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/test_stateless_cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ runs:
with:
target: ${{ matrix.config.target }}

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

- uses: actions/download-artifact@v2
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/test_stateless_standalone/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ runs:
toolchain: ${{ matrix.config.toolchain }}
target: ${{ matrix.config.target }}

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

- uses: actions/download-artifact@v2
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/test_unit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ runs:
target: ${{ matrix.config.target }}
components: rustfmt, clippy

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

- name: Test
uses: actions-rs/cargo@v1
Expand Down