-
Notifications
You must be signed in to change notification settings - Fork 67
34 lines (30 loc) · 957 Bytes
/
msrv.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
name: MSRV
on:
pull_request:
merge_group:
jobs:
# This is our MSRV. However this is only for documentation
# purposes and should be increased if newer features are used.
# This should not stop anyone from bumping the MSRV.
check-msrv:
name: Check MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.60.0
target: thumbv7em-none-eabihf
- run: cargo check --features=stm32f303xc,usb,rt,can,ld --lib
check-min-deps:
name: Check Minimal Dependency Versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
target: thumbv7em-none-eabihf
- run: cargo +nightly update -Z minimal-versions
- run: cargo tree
- run: cargo check --features=stm32f303xc,usb,rt,can,ld --lib --examples