From a0b29e44e69c964fe4e32bad5240ff50eb7cd3f2 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 29 Oct 2023 17:20:46 +0100 Subject: [PATCH] .github/workflows/ci.yml: minimize compilation times. This is achieved by masking 'criterion' dev-dependency. It's used only in benchmarking code, which we don't exercise here. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 031d088d..9453b170 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,8 @@ jobs: rustc --version --verbose export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cd bindings/rust + sed "s/^crit/#crit/" Cargo.toml > Cargo.$$.toml && \ + mv Cargo.$$.toml Cargo.toml if [ "$GITHUB_EVENT_NAME" != "pull_request" ]; then cargo update fi