From f8cf0760b2ffd1e739fade38a7107e3a0ebb9999 Mon Sep 17 00:00:00 2001 From: Max Murphy Date: Thu, 1 Aug 2024 03:52:45 +0200 Subject: [PATCH] Install candid-extractor --- .github/workflows/binding-checks.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/binding-checks.yml b/.github/workflows/binding-checks.yml index 459ee97606..6a69449847 100644 --- a/.github/workflows/binding-checks.yml +++ b/.github/workflows/binding-checks.yml @@ -34,6 +34,14 @@ jobs: key: ${{ runner.os }}-cargo-backend-tests-${{ hashFiles('Cargo.lock', 'rust-toolchain.toml') }} - name: Prepare uses: ./.github/actions/prepare + - name: Install binstall + run: | + BINSTALL_VERSION="1.8.0" + curl -L --proto '=https' --tlsv1.2 -sSf "https://github.com/cargo-bins/cargo-binstall/releases/download/v${BINSTALL_VERSION}/cargo-binstall-x86_64-unknown-linux-musl.tgz" | tar -xvzf - cargo-binstall + ./cargo-binstall -y --force "cargo-binstall@$BINSTALL_VERSION" + rm cargo-binstall + - name: Install candid-extractor + run: cargo binstall --no-confirm candid-extractor@0.1.4 - name: Generate bindings run: npm run generate # TODO: Cache the build.