Skip to content

Commit

Permalink
.github/: Enforce semantic versioning using cargo-semver-checks (libp…
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad committed Sep 17, 2022
1 parent 2025de3 commit a10872d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,28 @@ jobs:

- name: Check formatting
run: cargo fmt -- --check

rustsemver:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@a40b8845c0683271d9f53dfcb887a7e181d3918b # 0.9.1
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3

- name: Install rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal

- name: Install Protoc
uses: arduino/setup-protoc@v1

- name: Install Semver Checks
run: cargo install cargo-semver-checks

- name: Check Semver
run: cargo semver-checks check-release

0 comments on commit a10872d

Please sign in to comment.