Skip to content

Commit 0f6453c

Browse files
authored
Merge pull request #325 from rust-osdev/semver-checks
Check for breaking changes on CI
2 parents dd7b912 + 29ec13c commit 0f6453c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,18 @@ jobs:
9292
- uses: Swatinem/rust-cache@v2
9393
- uses: r7kamura/[email protected]
9494
- run: cargo clippy --all --all-targets
95+
96+
semver-checks:
97+
name: Semver Checks
98+
runs-on: ubuntu-latest
99+
steps:
100+
- uses: actions/checkout@v3
101+
- uses: Swatinem/rust-cache@v2
102+
with:
103+
shared-key: "semver-checks"
104+
cache-targets: false
105+
- run: cargo install cargo-semver-checks --locked
106+
- name: Check semver (API)
107+
run: cargo semver-checks check-release -p bootloader_api
108+
- name: Check semver
109+
run: cargo semver-checks check-release

0 commit comments

Comments
 (0)