mirror of
https://github.com/urbit/ares.git
synced 2024-12-24 05:44:36 +03:00
ci: cache rust dependencies
This commit is contained in:
parent
8ab473d260
commit
7ece1af41a
10
.github/workflows/ares-shared.yml
vendored
10
.github/workflows/ares-shared.yml
vendored
@ -21,6 +21,16 @@ jobs:
|
||||
with:
|
||||
extra_nix_config: "extra-experimental-features = nix-command flakes"
|
||||
|
||||
- name: Set cache key for dev env
|
||||
run: export ARES_NIX_DEVSHELL_PATH=$(nix eval --raw ".#devShells.x86_64-linux.default.outPath")
|
||||
|
||||
- name: Cache rust build artifacts
|
||||
id: cache_rust
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
env-vars: "CARGO CC CFLAGX CXX CMAKE RUST ARES"
|
||||
workspaces: "rust/ares -> target"
|
||||
|
||||
# Check formatting
|
||||
- name: Format
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user