diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cc1fc15..a891239 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -42,9 +42,10 @@ jobs: - run: cargo clippy --all-features --locked -- -D warnings fmt: - name: Rustfmt + name: Format runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: rustup component add rustfmt - run: cargo fmt --all -- --check + - run: npx prettier --check "**/*.md" diff --git a/README.md b/README.md index 4e302dc..71f46a3 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,14 @@ A Rust port of the [pkginfo](https://pypi.org/project/pkginfo/) Python library. ## Installation -Add it to your ``Cargo.toml``: +Add it to your `Cargo.toml`: ```toml [dependencies] python-pkginfo = "0.6" ``` -then you are good to go. If you are using Rust 2015 you have to add ``extern crate python_pkginfo`` to your crate root as well. +then you are good to go. If you are using Rust 2015 you have to add `extern crate python_pkginfo` to your crate root as well. ## Example