Skip to content

Commit a96a7e4

Browse files
chore: move semver check out of ci
1 parent 256a1eb commit a96a7e4

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,6 @@ jobs:
6060
RUSTFLAGS: --allow unknown_lints
6161
run: cargo check --all-features
6262

63-
semver:
64-
name: Check semver
65-
runs-on: ubuntu-latest
66-
steps:
67-
- name: Checkout repository
68-
uses: actions/checkout@v3
69-
- name: Install Rust stable
70-
run: rustup toolchain install stable
71-
- name: Check semver violations
72-
uses: obi1kenobi/cargo-semver-checks-action@v2
73-
7463
docsrs:
7564
name: Build doc
7665
runs-on: ubuntu-latest
@@ -107,8 +96,6 @@ jobs:
10796
run: rustup toolchain install stable
10897
- name: Run raw example
10998
run: cargo run --example raw
110-
- name: Run thread_local example
111-
run: cargo run --example thread_local --features thread_local
11299

113100
linter:
114101
name: Linter

.github/workflows/semver.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Semver
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
CARGO_TERM_COLOR: always
8+
9+
jobs:
10+
semver:
11+
name: Check semver
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
- name: Install Rust stable
17+
run: rustup toolchain install stable
18+
- name: Check semver violations
19+
uses: obi1kenobi/cargo-semver-checks-action@v2

0 commit comments

Comments
 (0)