Skip to content

Commit

Permalink
Add clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-valerio committed Aug 30, 2024
1 parent f24ffb4 commit fe0049a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Set up Rust
RUN rustup default nightly-2024-08-13 \
&& rustup component add rust-src \
&& cargo install --force ziggy cargo-afl honggfuzz grcov cargo-contract
&& cargo install --force ziggy cargo-afl honggfuzz grcov cargo-contract \
&& rustup component add clippy

# Clone and build the project
WORKDIR /phink
Expand Down
2 changes: 1 addition & 1 deletion phink.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ constructor_payload = "9BAE9D5E5C1100007B000000ACAC0000CC5B763F7AA51000F4BD3F32F
storage_deposit_limit = "100000000000" # this is commented by default, to set is to `None`
instantiate_initial_value = "0"
verbose = true
instrumented_contract_path.path = "aaaaaaaaa"
instrumented_contract_path.path = "instrumented_contract"


[default_gas_limit]
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[toolchain]
channel = "nightly-2024-08-13"
components = ["rustfmt", "cargo", "rustc", "rust-std"]
components = ["rustfmt", "cargo", "rustc", "rust-std", "clippy"]
targets = [
"aarch64-apple-darwin", # macOS on ARM architecture
"x86_64-unknown-linux-gnu", # Linux on x86_64 architecture
Expand Down

0 comments on commit fe0049a

Please sign in to comment.