Skip to content

ci: unify udeps workflow into main rust workflow #549

ci: unify udeps workflow into main rust workflow

ci: unify udeps workflow into main rust workflow #549

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install crates
run: cargo install --debug cargo-sort cargo-rdme cargo-audit cargo-udeps
- name: Lint
run: |
cargo fmt -- --check --config format_code_in_doc_comments=true
cargo rdme --check
cargo sort --workspace --check
cargo audit -D warnings
cargo check --workspace
cargo clippy --workspace --all --all-targets --all-features -- -Dwarnings -D clippy::pedantic -D clippy::nursery -D clippy::dbg-macro -A clippy::missing-panics-doc
cargo build --workspace
cargo test --workspace
export RUSTC_BOOTSTRAP=1 && cargo udeps && cd fuzz && cargo udeps