Skip to content

Commit 3351fc7

Browse files
committed
Add a semver checks CI job
1 parent d19027e commit 3351fc7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build.yml

+13
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,16 @@ jobs:
5252
components: clippy, rustfmt
5353
- run: cargo fmt --all --check
5454
- run: cargo clippy --workspace --features derive
55+
56+
semver-checks:
57+
name: Semver Checks
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: actions/checkout@v4
61+
- uses: Swatinem/rust-cache@v2
62+
with:
63+
shared-key: "semver-checks"
64+
cache-targets: false
65+
- run: cargo install cargo-semver-checks --locked
66+
- name: Check semver
67+
run: cargo semver-checks check-release

0 commit comments

Comments
 (0)