-
-
Notifications
You must be signed in to change notification settings - Fork 13
41 lines (34 loc) · 916 Bytes
/
api.yml
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
32
33
34
35
36
37
38
39
40
41
name: Check API
on:
push:
branches: [ main ]
paths:
- '**.rs'
- '**.toml'
- '.github/workflows/**'
pull_request:
branches: [ main ]
paths:
- '**.rs'
- '**.toml'
- '.github/workflows/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
semver:
runs-on: ubuntu-latest
steps:
- name: Setup | Install cargo-semver-checks
run: cargo install cargo-semver-checks --locked
- name: Setup | Checkout code
uses: actions/checkout@v3
- name: Check for SemVer violations | imap-types
run: |
cd imap-types
cargo semver-checks check-release --only-explicit-features
- name: Check for SemVer violations | imap-codec
run: |
cd imap-codec
cargo semver-checks check-release --only-explicit-features