ur: add no-std support #520
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Version | |
run: cargo --version | |
- name: Format | |
run: cargo fmt -- --check | |
- name: Install crates | |
run: cargo install --debug cargo-sort cargo-rdme cargo-audit | |
- name: Check sorted dependencies | |
run: cargo sort --check | |
- name: Check README is up-to-date | |
run: cargo rdme --check | |
- name: Cargo audit | |
run: cargo audit -D warnings | |
- name: Check | |
run: cargo check --locked | |
- name: Clippy | |
run: cargo clippy --all --all-targets --all-features -- -Dwarnings -D clippy::pedantic -D clippy::dbg-macro -A clippy::missing-panics-doc | |
- name: Build | |
run: cargo build | |
- name: Run tests | |
run: cargo test | |
- name: Lint fuzz | |
working-directory: ./fuzz | |
run: | | |
cargo fmt -- --check | |
cargo sort --check | |
cargo check | |
cargo clippy --all --all-targets --all-features -- -Dwarnings -D clippy::pedantic -D clippy::dbg-macro -A clippy::missing-panics-doc |