Skip to content

Commit

Permalink
Correcting setup in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sacherjj committed Jan 10, 2025
1 parent fc081a6 commit 5376df3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 }}
Expand Down
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5376df3

Please sign in to comment.