Skip to content

Commit

Permalink
Add a semver checks CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Apr 26, 2024
1 parent d19027e commit 3351fc7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,16 @@ jobs:
components: clippy, rustfmt
- run: cargo fmt --all --check
- run: cargo clippy --workspace --features derive

semver-checks:
name: Semver Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
shared-key: "semver-checks"
cache-targets: false
- run: cargo install cargo-semver-checks --locked
- name: Check semver
run: cargo semver-checks check-release

0 comments on commit 3351fc7

Please sign in to comment.