-
-
Notifications
You must be signed in to change notification settings - Fork 289
31 lines (24 loc) · 662 Bytes
/
Copy pathsemver.yml
File metadata and controls
31 lines (24 loc) · 662 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Semver check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build (no features enabled)
run: cargo build --verbose
- name: Check semver compatibility (russh)
id: semver
uses: obi1kenobi/cargo-semver-checks-action@v2
continue-on-error: true
with:
package: russh
- name: Warn on semver breakage
if: steps.semver.outcome == 'failure'
run: echo "::warning title=Semver check failed::cargo-semver-checks reported breaking changes in russh"