Skip to content

cargo fmt all.

cargo fmt all. #16

Workflow file for this run

name: CI checks
on:
pull_request:
branches: [ "main"]
push:
branches: [ "main"]
env:
CARGO_TERM_COLOR: always
jobs:
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Cargo fmt check
run: cargo fmt --all -- --check
- name: Run tests
run: cargo test --all-features