mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-06 12:10:02 +00:00
Fix CI: Use cargo-hack
0.6.10 (#1468)
* Fix ci: Install deps before caching and include `JUST*` env values in caching key To make sure caching is done properly and does not accidentally include (old) pre-built binaries that we don't want. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix missing `shell` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix justfile target `check`: Call `cargo hack check` directly without using the `CARGO=cargo-zigbuild` env since `leon` does not use external C/C++ compiler anyway. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * CI: Dowgrade cargo-hack to 0.6.10 This is the last version working Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
4de2d0f49c
commit
7e132f690d
4 changed files with 14 additions and 12 deletions
5
.github/actions/just-setup/action.yml
vendored
5
.github/actions/just-setup/action.yml
vendored
|
@ -53,7 +53,12 @@ runs:
|
|||
fi
|
||||
shell: bash
|
||||
|
||||
- run: just ci-install-deps
|
||||
shell: bash
|
||||
|
||||
- if: inputs.indexcache || inputs.buildcache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
env-vars: "CARGO CC CFLAGS CXX CMAKE RUST JUST"
|
||||
env:
|
||||
RUSTFLAGS: ${{ steps.retrieve-rustflags.outputs.RUSTFLAGS }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue