Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: extend CI workflow #100

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Rust

on:
push:
branches: [ "master" ]
branches: [ master ]
pull_request:
branches: [ "master" ]
branches: [ master ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -16,7 +16,18 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Install crates
run: |
cargo install --debug cargo-quickinstall
cargo quickinstall 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 --check
cargo audit -D warnings
cargo check
cargo clippy --all --all-targets --all-features -- -Dwarnings -D clippy::pedantic -D clippy::nursery -D clippy::dbg-macro -A clippy::missing-panics-doc
cargo build
cargo test
export RUSTC_BOOTSTRAP=1 && cargo udeps && cd fuzz && cargo udeps
Loading