From c207743ebdab31520d6ddf5141a2c2c133fb7574 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Wed, 10 Apr 2024 17:26:22 -0400 Subject: [PATCH] Add semver check to CI (#36) --- .github/workflows/test.yml | 8 +++++--- Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c16b8e..76172f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,11 +2,11 @@ name: CI on: push: - branches: [main] + branches: [ main ] pull_request: - branches: [main] + branches: [ main ] release: - types: [published] + types: [ published ] workflow_dispatch: jobs: @@ -32,3 +32,5 @@ jobs: - run: cargo test --features s3-async-native - run: cargo test --features s3-async-rustls - run: cargo test + - name: Check semver + uses: obi1kenobi/cargo-semver-checks-action@v2 diff --git a/Cargo.toml b/Cargo.toml index 1953348..4aa0422 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ bytes = "1" fmmap = { version = "0.3", default-features = false, optional = true } hilbert_2d = "1" reqwest = { version = "0.12.3", default-features = false, optional = true } -rust-s3 = { version = "0.33.0", optional = true, default-features = false, features = ["fail-on-err"] } +rust-s3 = { version = "0.33.0", optional = true, default-features = false, features = ["fail-on-err"] } serde = { version = "1", optional = true } serde_json = { version = "1", optional = true } thiserror = "1"