Skip to content

chore: Bump itertools, fix some Clippy lints #115

chore: Bump itertools, fix some Clippy lints

chore: Bump itertools, fix some Clippy lints #115

Workflow file for this run

name: Test Rust
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: Test Rust ${{ matrix.rust_version }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.rust_version == 'nightly' }}
strategy:
fail-fast: false
matrix:
rust_version: ["stable", "beta", "nightly"]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust_version }}
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check clippy
run: cargo clippy --all --all-features --tests -- -D warnings
- name: Run tests
run: cargo test