diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 66636e3..8352dce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,8 +11,8 @@ jobs: with: toolchain: stable components: rustfmt, clippy - - run: cargo fmt --check && cargo clippy --examples --tests - - run: cargo check && cargo check --features serializable + - run: cargo fmt --check && cargo clippy --all-targets --all-features + - run: cargo check --all-features - run: cargo test coverage: runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index a554236..3a493f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ include = ["src/", "license"] serializable = ["serde"] [dependencies] -markdown = "1.0.0-alpha.12" +markdown = "1.0.0-alpha.13" serde = { version = "1", optional = true } swc_core = { version = "0.83.0", features = [ "ecma_ast", diff --git a/readme.md b/readme.md index ad58430..af2ec26 100644 --- a/readme.md +++ b/readme.md @@ -144,11 +144,11 @@ The following bash scripts are useful when working on this project: ``` * format: ```sh - cargo fmt && cargo clippy --examples --tests --benches --fix + cargo fmt && cargo fix ``` * lint: ```sh - cargo fmt --check && cargo clippy --examples --tests --benches + cargo fmt --check && cargo clippy --all-targets ``` * test: ```sh