fix: separate CI cache volumes to prevent concurrent disk exhaustion
Each workflow job now uses its own cache directory to avoid multiple runners on the same VPS writing to the same target dir simultaneously.
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
container:
|
||||
image: ${{ needs.preflight.outputs.IMAGE }}
|
||||
volumes:
|
||||
- /cache/cargo-target/pezkuwi-sdk:/cache/target
|
||||
- /cache/cargo-target/pezkuwi-sdk-clippy:/cache/target
|
||||
env:
|
||||
RUSTFLAGS: "-D warnings"
|
||||
SKIP_WASM_BUILD: 1
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
container:
|
||||
image: ${{ needs.preflight.outputs.IMAGE }}
|
||||
volumes:
|
||||
- /cache/cargo-target/pezkuwi-sdk:/cache/target
|
||||
- /cache/cargo-target/pezkuwi-sdk-try-runtime:/cache/target
|
||||
env:
|
||||
SKIP_WASM_BUILD: 1
|
||||
CARGO_INCREMENTAL: 0
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
container:
|
||||
image: ${{ needs.preflight.outputs.IMAGE }}
|
||||
volumes:
|
||||
- /cache/cargo-target/pezkuwi-sdk:/cache/target
|
||||
- /cache/cargo-target/pezkuwi-sdk-test-doc:/cache/target
|
||||
env:
|
||||
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
||||
SKIP_WASM_BUILD: 1
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
container:
|
||||
image: ${{ needs.preflight.outputs.IMAGE }}
|
||||
volumes:
|
||||
- /cache/cargo-target/pezkuwi-sdk:/cache/target
|
||||
- /cache/cargo-target/pezkuwi-sdk-rustdoc:/cache/target
|
||||
env:
|
||||
SKIP_WASM_BUILD: 1
|
||||
CARGO_INCREMENTAL: 0
|
||||
|
||||
Reference in New Issue
Block a user