Skip to content

Commit

Permalink
Remove funty CI hack, upgrade codec (#86)
Browse files Browse the repository at this point in the history
* Remove funty CI hack

* Upgrade parity-scale-codec
  • Loading branch information
ascjones authored Apr 19, 2021
1 parent a15a61c commit 3b542f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,41 +25,34 @@ jobs:

- name: fmt
run: |
cargo generate-lockfile --verbose && cargo update -p funty --precise "1.1.0" --verbose
cargo fmt --version
cargo fmt --all -- --check
- name: clippy
run: |
cargo generate-lockfile --verbose && cargo update -p funty --precise "1.1.0" --verbose
cargo clippy --version
cargo clippy --all -- -D warnings
- name: check-all-features
run: |
cargo generate-lockfile --verbose && cargo update -p funty --precise "1.1.0" --verbose
cargo check --all --all-features
- name: check-features
run: |
cargo generate-lockfile --verbose && cargo update -p funty --precise "1.1.0" --verbose
cargo check --no-default-features --features serde
cargo check --no-default-features --features serde,decode
- name: build
run: |
cargo generate-lockfile --verbose && cargo update -p funty --precise "1.1.0" --verbose
cargo --version --verbose
cargo build --all
cargo build --all --no-default-features
- name: test
run: |
cargo generate-lockfile --verbose && cargo update -p funty --precise "1.1.0" --verbose
cargo test --all
- name: test no-std
run: |
cd ./test_suite/derive_tests_no_std
cargo generate-lockfile --verbose && cargo update -p funty --precise "1.1.0" --verbose
cargo build --no-default-features
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cfg-if = "1.0"
scale-info-derive = { version = "0.4.0", path = "derive", default-features = false, optional = true }
serde = { version = "1", default-features = false, optional = true, features = ["derive", "alloc"] }
derive_more = { version = "0.99.1", default-features = false, features = ["from"] }
scale = { package = "parity-scale-codec", version = "2.0", default-features = false, features = ["derive"] }
scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive"] }

[features]
default = ["std"]
Expand Down

0 comments on commit 3b542f4

Please sign in to comment.