File tree Expand file tree Collapse file tree 4 files changed +25
-10
lines changed Expand file tree Collapse file tree 4 files changed +25
-10
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,26 @@ jobs:
17
17
os : [ubuntu-latest, macos-latest, windows-latest]
18
18
steps :
19
19
- uses : actions/checkout@v4
20
- - name : Build
21
- run : cargo build --verbose
22
- - name : Run tests
23
- run : cargo test --all-features --verbose
20
+ - name : Set up Rust
21
+ uses : actions-rs/toolchain@v1
22
+ with :
23
+ toolchain : stable
24
+ profile : minimal
25
+ - name : Setup rust-cache
26
+ uses : Swatinem/rust-cache@v2
24
27
- name : Check Formating
25
- run : cargo fmt --all -- --check
28
+ run : cargo +stable fmt --all -- --check
26
29
- name : Run Clippy
27
- run : cargo clippy -- -D warnings
30
+ run : cargo +stable clippy --workspace --all-targets --all-features -D warnings
31
+ - name : Build
32
+ run : cargo +stable build --workspace --all-targets --all-features
33
+ - name : Run tests
34
+ run : cargo +stable test --doc --workspace
35
+ typos :
36
+ name : Typos Check
37
+ runs-on : ubuntu-latest
38
+ steps :
39
+ - uses : actions/checkout@v4
40
+ - uses : crate-ci/typos@master
41
+ with :
42
+ config : ./.config/_typos.toml
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ nalgebra = "0.33.2"
31
31
rand = { version = " 0.8.5" , features = [" rand_chacha" ] }
32
32
rand_distr = " 0.4.3"
33
33
rerun = " 0.21.0"
34
- thiserror = " 2.0.7 "
35
- serde = { version = " 1.0.216 " , features = [" derive" ] }
34
+ thiserror = " 2.0.11 "
35
+ serde = { version = " 1.0.217 " , features = [" derive" ] }
36
36
serde_yaml = " 0.9.34"
37
- env_logger = " 0.11.5 "
37
+ env_logger = " 0.11.6 "
38
38
log = " 0.4.22"
39
39
rayon = " 1.10.0"
40
40
rand_chacha = " 0.3.1"
Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ impl Imu {
487
487
/// PID controller for quadrotor position and attitude control
488
488
///
489
489
/// The kpid_pos and kpid_att gains are following the format of
490
- /// porportional , derivative and integral gains
490
+ /// proportional , derivative and integral gains
491
491
/// # Example
492
492
/// ```
493
493
/// use nalgebra::Vector3;
You can’t perform that action at this time.
0 commit comments