Skip to content

Commit e334f2a

Browse files
authored
Merge pull request #63 from rust-osdev/semver-checks
Add a semver checks CI job
2 parents d19027e + 3351fc7 commit e334f2a

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)