Skip to content

Commit

Permalink
Fix build by not using scripts meant for a workspace with binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Apr 17, 2024
1 parent ed08dae commit 7543369
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
- name: Build Nix packages for dev shell
run: nix develop -c $SHELL -c "rustc --version --verbose"
- name: Run fmt
run: nix develop -c $SHELL -c "script-holochain-tests-static-fmt"
run: nix develop -c cargo fmt --all -- --check
- name: Run clippy
run: nix develop -c $SHELL -c "script-holochain-tests-static-clippy"
run: nix develop -c cargo clippy --all -- --deny warnings
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ members = [

[profile.release]
debug = true

[workspace.lints.clippy]
style = "deny"
complexity = "deny"
perf = "deny"
correctness = "deny"
dbg_macro = "deny"
3 changes: 3 additions & 0 deletions crates/holochain_serialized_bytes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ harness = false
fuzzing = ["arbitrary", "proptest", "proptest-derive"]

trace = ["tracing"]

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/holochain_serialized_bytes_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ proc-macro = true
[dependencies]
syn = "1.0"
quote = "1.0"

[lints]
workspace = true
38 changes: 19 additions & 19 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7543369

Please sign in to comment.