Skip to content

Commit 9343539

Browse files
committed
chore: add cargo-semver checks + caching to CI
1 parent f180af4 commit 9343539

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/semver.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
branches: [main]
4+
pull_request:
5+
6+
name: semver-checks
7+
8+
jobs:
9+
semver:
10+
name: Run cargo-semver-checks
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
rust:
15+
- stable
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: dtolnay/rust-toolchain@v1
19+
with:
20+
toolchain: ${{ matrix.rust }}
21+
components: clippy
22+
- name: Install cargo-semver-checks
23+
uses: baptiste0928/cargo-install@v2
24+
with:
25+
crate: cargo-semver-checks
26+
- name: run check-release
27+
run: cargo semver-checks check-release

0 commit comments

Comments
 (0)