build: add useful development targets to makefile
This commit is contained in:
parent
697e318a6c
commit
8759352542
2 changed files with 23 additions and 7 deletions
8
.github/workflows/checks.yml
vendored
8
.github/workflows/checks.yml
vendored
|
|
@ -1,9 +1,5 @@
|
|||
name: Full Rust codebase checks
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
RUSTFLAGS: "-D warnings"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
|
|
@ -16,9 +12,7 @@ jobs:
|
|||
- run: rustup toolchain install stable --profile minimal
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- run: cargo check --workspace --examples --tests --benches --bins
|
||||
- run: cargo fmt -- --check
|
||||
- run: cargo clippy --workspace --all-targets
|
||||
- run: make lint
|
||||
|
||||
check_c_warnings:
|
||||
name: Check C warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue