diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 636e005..43df248 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -22,9 +22,6 @@ jobs: - name: Checkout source code uses: actions/checkout@v3 - - name: Install Rust toolchain - uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v1 - - name: Run cargo fmt uses: actions-rs/cargo@v1 with: @@ -55,10 +52,7 @@ jobs: uses: actions/cache@v3 with: path: ~/.cargo - key: ${{ runner.os }}-contract-build-env-${{ hashFiles('rust-toolchain.toml') }} - - - name: Install Rust toolchain - uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v1 + key: ${{ runner.os }}-contract-build-env - name: Install cargo contract uses: actions-rs/cargo@v1 diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 91e2cd5..0000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,5 +0,0 @@ -[toolchain] -channel = "1.72.1" -components = ["rustfmt", "rust-src", "clippy"] -targets = ["wasm32-unknown-unknown"] -profile = "minimal"