Skip to content

Merge pull request #46 from stephank/feat/rewrite #45

Merge pull request #46 from stephank/feat/rewrite

Merge pull request #46 from stephank/feat/rewrite #45

Workflow file for this run

name: Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
rust: [1.46, stable]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
components: rustfmt
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Check style
run: cargo fmt -- --check