Skip to content

Libify validation

Libify validation #31

Workflow file for this run

name: Rust
on:
push:
branches:
- main
pull_request:
jobs:
lint-test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Cargo fmt
run: cargo fmt -- --check
- name: "clippy --all"
run: cargo clippy --all-features --tests -- -D warnings
- name: "cargo check"
run: cargo check --all-features
- name: "cargo test"
run: |
cargo test --all --no-default-features
cargo test --all --all-features