diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 699a5c9..1bd457e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -76,6 +76,23 @@ jobs: - uses: dtolnay/rust-toolchain@1.60.0 - run: cargo build --all-features --lib + semver: + name: Check semver compatibility + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 + with: + persist-credentials: false + - name: Check semver + uses: obi1kenobi/cargo-semver-checks-action@v2 + + audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: EmbarkStudios/cargo-deny-action@v2 + # TODO: broken - migrate to criterion # bench: # name: Check that benchmarks compile diff --git a/Cargo.toml b/Cargo.toml index 53c7f2a..51e5b6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ keywords = ["time", "human", "human-friendly", "parser", "duration"] homepage = "https://github.com/chronotope/humantime" repository = "https://github.com/chronotope/humantime" documentation = "https://docs.rs/humantime" -version = "2.2.0" +version = "2.2.1" edition = "2021" categories = ["date-and-time"] diff --git a/deny.toml b/deny.toml new file mode 100644 index 0000000..5db6f35 --- /dev/null +++ b/deny.toml @@ -0,0 +1,3 @@ +[licenses] +version = 2 +allow = ["Apache-2.0", "MIT"]