From 80536f604d172d993c36050b513ac91a3bee07a1 Mon Sep 17 00:00:00 2001 From: Oleksandr Anyshchenko Date: Thu, 21 Dec 2023 18:21:45 +0000 Subject: [PATCH] fix: attempt to fix CI by adding components and pre-build contract --- .github/workflows/rust.yml | 5 +++++ rust-toolchain | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9911fac..029ef08 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -38,6 +38,11 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v4 + - name: Build Smart Contract + uses: actions-rs/cargo@v1 + with: + command: build + args: --release --target wasm32-unknown-unknown - name: Run tests uses: actions-rs/cargo@v1 with: diff --git a/rust-toolchain b/rust-toolchain index 4ed821d..8f50175 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,3 +1,4 @@ [toolchain] channel = "1.74.0" +components = ["clippy", "rustfmt"] targets = ["wasm32-unknown-unknown"]