Skip to content

Style

Style #283

Workflow file for this run

name: Style
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 1' # weekly
jobs:
style:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
toolchain: [ stable, nightly ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
components: clippy, rustfmt
- run: cargo fmt -- --check
- run: cargo clippy -- -D warnings