From 0f1c2a8d01936c49fa9a4386cf120f9d7569638b Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 10 Jan 2025 16:27:28 -0500 Subject: [PATCH] ci: Install `cargo-nextest` with `--locked` (#22984) This PR makes it so we install `cargo-nextest` with `cargo install cargo-nextest --locked` in CI. According to the [docs](https://nexte.st/docs/installation/from-source/), this is the **only** supported way to install `cargo-nextest` when building from source. Release Notes: - N/A --- .github/actions/run_tests/action.yml | 2 +- .github/workflows/deploy_collab.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/run_tests/action.yml b/.github/actions/run_tests/action.yml index df714be003..e97d8f7541 100644 --- a/.github/actions/run_tests/action.yml +++ b/.github/actions/run_tests/action.yml @@ -7,7 +7,7 @@ runs: - name: Install Rust shell: bash -euxo pipefail {0} run: | - cargo install cargo-nextest + cargo install cargo-nextest --locked - name: Install Node uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 diff --git a/.github/workflows/deploy_collab.yml b/.github/workflows/deploy_collab.yml index 664a702cee..afc96c32bf 100644 --- a/.github/workflows/deploy_collab.yml +++ b/.github/workflows/deploy_collab.yml @@ -44,7 +44,7 @@ jobs: - name: Install cargo nextest shell: bash -euxo pipefail {0} run: | - cargo install cargo-nextest + cargo install cargo-nextest --locked - name: Limit target directory size shell: bash -euxo pipefail {0}