Skip to content

Commit

Permalink
cleaning up ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Rodriguez committed Apr 11, 2024
1 parent 7b23c77 commit b0839de
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 86 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/lint.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/test.yml

This file was deleted.

20 changes: 5 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ panic = 'abort'
incremental = false
overflow-checks = true

[features]
# for more explicit tests, cargo test --features=backtraces
backtraces = ["cosmwasm-std/backtraces"]
# use library feature to disable all instantiate/execute/query exports
library = []

[package.metadata.scripts]
optimize = """docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
Expand All @@ -43,14 +37,10 @@ optimize = """docker run --rm -v "$(pwd)":/code \

[dependencies]
base64 = "0.22.0"
cosmwasm-schema = "1.5.0"
cosmwasm-std = { version = "1.5.0", features = [
"cosmwasm_1_3",
# Enable this if you only deploy to chains that have CosmWasm 1.4 or higher
# "cosmwasm_1_4",
] }
cw-storage-plus = "1.1.0"
cw2 = "1.1.1"
cosmwasm-schema = "2.0.1"
cosmwasm-std = "2.0.1"
cw-storage-plus = "2.0.0"
cw2 = "2.0.0"
derive_more = "0.99.17"
ibc-core = { version = "0.51.0", default-features = false, features = ["schema"] }
ibc-clients = { version = "0.51.0", default-features = false, features = ["schema"] }
Expand All @@ -66,4 +56,4 @@ thiserror = { version = "1.0.49" }
ibc-proto = { git = "https://github.com/cosmos/ibc-proto-rs.git", rev = "6cbe4c7ace5a688bc98831fa9c1cc2dabf3b2976", default-features = false } # "0.42.2"

[dev-dependencies]
cw-multi-test = "0.17.0"
cw-multi-test = "2.0.0"
13 changes: 5 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
help: ## Display this help message
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

clean: ## Cleans compiled
@cargo clean

install-dev-tools: ## Installs all necessary cargo helpers
cargo install wasm-opt

Expand All @@ -22,9 +25,6 @@ optimize-contracts: ## Optimize WASM files in contracts directory
wasm-opt "$$wasm_file" -o "$$optimized_file" -Os; \
done

clean: ## Cleans compiled
@cargo clean

lint: ## cargo check and clippy. Skip clippy on guest code since it's not supported by risc0
## fmt first, because it's the cheapest
cargo +nightly fmt --all --check
Expand All @@ -42,11 +42,8 @@ find-unused-deps: ## Prints unused dependencies for project. Note: requires nigh
check-features: ## Checks that project compiles with all combinations of features. default is not needed because we never check `cfg(default)`, we only use it as an alias.
cargo hack check --workspace --feature-powerset --exclude-features default

test-legacy: ## Runs test suite with output from tests printed
@cargo test -- --nocapture -Zunstable-options --report-time

test: ## Runs test suite using next test
@cargo nextest run --workspace --all-features
test: ## Run tests with all features and without default features.
@cargo test --all-targets --no-default-features

docs: ## Generates documentation locally
cargo doc --all-features --no-deps --release --open

0 comments on commit b0839de

Please sign in to comment.