Skip to content

Merge pull request #99 from auto-impl-rs/cargo/1.2.0 #92

Merge pull request #99 from auto-impl-rs/cargo/1.2.0

Merge pull request #99 from auto-impl-rs/cargo/1.2.0 #92

Workflow file for this run

name: CI
on: [pull_request, push]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: --deny warnings
jobs:
check:
name: 'Build & test'
runs-on: ubuntu-20.04
strategy:
matrix:
rust-version: ['stable', 'beta', 'nightly', '1.56']
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v1
- run: cargo fmt --all -- --check
- run: cargo clippy --workspace --all-features -- -D warnings
- run: cargo test --workspace