Skip to content

Merge pull request #17 from abizjak/patch-1 #82

Merge pull request #17 from abizjak/patch-1

Merge pull request #17 from abizjak/patch-1 #82

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose --all-features
- name: Run tests
run: cargo test --verbose --all-features
- name: Compile benchmarks
run: cargo bench --no-run --all-features
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@clippy
- run: cargo clippy --all-features --tests