From 83af9b6321dc0c0d9a02ce48db8a1d271beeb462 Mon Sep 17 00:00:00 2001 From: Evgeny Ukhanov Date: Tue, 12 Dec 2023 00:02:42 +0100 Subject: [PATCH] Fix CI --- .github/workflows/lints.yml | 8 ++++++-- rust-toolchain | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index 1effce7..78cf6ca 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -13,7 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone the repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 + - name: Install cargo-make + run: cargo make -V || cargo install cargo-make - name: Run cargo fmt run: cargo make check-fmt clippy: @@ -21,6 +23,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone the repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 + - name: Install cargo-make + run: cargo make -V || cargo install cargo-make - name: Run Contract cargo lint checker run: cargo make check diff --git a/rust-toolchain b/rust-toolchain index a58c981..27c161a 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,3 +1,4 @@ [toolchain] channel = "1.74.1" +components = ["minimal", "rustfmt", "clippy"] targets = ["wasm32-unknown-unknown"]