mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
CI: use RustCrypto/actions/cross-install (#487)
This action is located at: https://github.com/RustCrypto/actions/blob/master/cross-install/action.yml It's used across the RustCrypto project for installing `cross` in CI. Installation is performed by fetching a pinned binary release from: https://github.com/cross-rs/cross/releases/ This eliminates problems that might occur when using `cargo install` such as: https://github.com/dalek-cryptography/curve25519-dalek/actions/runs/3786735408/jobs/6437902657 It's also marginally faster.
This commit is contained in:
parent
0ffcb84625
commit
1b000d271d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
|
@ -87,7 +87,7 @@ jobs:
|
|||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
targets: ${{ matrix.target }}
|
||||
- run: cargo install cross
|
||||
- uses: RustCrypto/actions/cross-install@master
|
||||
- run: cross test --release --target ${{ matrix.target }}
|
||||
|
||||
nightly:
|
||||
|
|
|
|||
Loading…
Reference in a new issue