Add rust build caching to ci
This commit is contained in:
parent
f869cbdb53
commit
60cfd95789
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build-rust.yml
vendored
2
.github/workflows/build-rust.yml
vendored
|
|
@ -60,6 +60,8 @@ jobs:
|
|||
toolchain: stable
|
||||
components: rustfmt
|
||||
targets: ${{ join(matrix.targets, ', ') }}
|
||||
- name: Setup Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: cargo build --verbose --workspace --all-features --target ${{ join(matrix.targets, ' --target ') }} --target ${{ join(matrix.test-targets, ' --target ') }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue