diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index e826b6969b..c88150a8da 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 #tag v2.4.0 + uses: actions/checkout@v4 #tag v2.4.0 with: persist-credentials: false @@ -45,7 +45,7 @@ jobs: # run: echo "::set-output name=version::$(sed -nr 's/channel\s+=\s+\"(.*)\"/\1/p' rust-toolchain.toml)" # # - name: Install Toolchain - Stable -# uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #tag v1.0.7 +# uses: actions-rs/toolchain@ #tag v1.0.7 # with: # profile: minimal # toolchain: ${{ steps.stable-toolchain.outputs.version }} diff --git a/Makefile b/Makefile index d38ba037cb..39d529fdbf 100644 --- a/Makefile +++ b/Makefile @@ -173,16 +173,14 @@ bench: build-contracts-rs setup-cargo-packagers: $(CARGO) install cargo-deb || exit 0 -.PHONY: setup-audit -setup-audit: - cargo install cargo-audit - .PHONY: setup-rs setup: smart_contracts/rust-toolchain $(RUSTUP) update $(RUSTUP) toolchain install $(PINNED_STABLE) $(PINNED_NIGHTLY) $(RUSTUP) target add --toolchain $(PINNED_STABLE) wasm32-unknown-unknown $(RUSTUP) target add --toolchain $(PINNED_NIGHTLY) wasm32-unknown-unknown + $(RUSTUP) component add --toolchain $(PINNED_NIGHTLY) rustfmt + $(CARGO) install cargo-audit .PHONY: setup-nightly-rs setup-nightly-rs: