ci: Cache Cargo output on Github Actions
Co-authored-by: Mike Welsh <mwelsh@gmail.com>
This commit is contained in:
parent
1a7c5339a7
commit
3417dceca2
|
@ -58,6 +58,11 @@ jobs:
|
|||
sudo apt-get dist-upgrade
|
||||
sudo apt install -y libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev mesa-vulkan-drivers
|
||||
|
||||
- name: Cache Cargo output
|
||||
uses: Swatinem/rust-cache@90429b3dea365e9a1b0cb82d7f98aabf3089dc63
|
||||
with:
|
||||
shared-key: "desktop"
|
||||
|
||||
- name: Check formatting
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
|
@ -52,6 +52,11 @@ jobs:
|
|||
toolchain: ${{ matrix.rust_version }}
|
||||
target: wasm32-unknown-unknown
|
||||
|
||||
- name: Cache Cargo output
|
||||
uses: Swatinem/rust-cache@90429b3dea365e9a1b0cb82d7f98aabf3089dc63
|
||||
with:
|
||||
shared-key: "web"
|
||||
|
||||
# wasm-bindgen-cli version must match wasm-bindgen crate version.
|
||||
# Be sure to update in release_nightly.yml, web/Cargo.toml and web/README.md.
|
||||
- name: Install wasm-bindgen
|
||||
|
|
Loading…
Reference in New Issue