Skip to content

Commit d3ae51c

Browse files
authored
chore(ci): install cargo-nextest from binary (#13790)
1 parent 98e7129 commit d3ae51c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ permissions:
88
env:
99
CARGO_INCREMENTAL: 0
1010
CARGO_NET_RETRY: 10
11+
CARGO_NEXTEST_VERSION: 0.9.92
1112
DOCKER_REGISTRY: ghcr.io/linkerd
1213
GH_ANNOTATION: true
1314
K3D_VERSION: v5.8.1
@@ -188,8 +189,11 @@ jobs:
188189
echo "PATH=$PATH" >> "$GITHUB_ENV"
189190
bin/scurl -v "https://raw.githubusercontent.com/k3d-io/k3d/${K3D_VERSION}/install.sh" | bash
190191
bin/scurl -vo /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64" && chmod +x /usr/local/bin/yq
192+
bin/scurl -v "https://github.com/nextest-rs/nextest/releases/download/cargo-nextest-${CARGO_NEXTEST_VERSION}/cargo-nextest-${CARGO_NEXTEST_VERSION}-x86_64-unknown-linux-musl.tar.gz" -o nextest.tar.gz
193+
tar -xzf nextest.tar.gz
194+
mv cargo-nextest ~/.cargo/bin/
195+
chmod +x ~/.cargo/bin/cargo-nextest
191196
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3
192-
- run: cargo install [email protected] --locked
193197
- run: just policy-test-build
194198
- run: just k3d-k8s='${{ matrix.k8s }}' k3d-create
195199
- run: docker load <image-archives/controller.tar

0 commit comments

Comments
 (0)