Record the rust-version in Cargo.toml and update badges. #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Formatting on nightly toolchain | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
env: | |
CARGO_UNSTABLE_SPARSE_REGISTRY: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: rustfmt | |
- name: Check formatting | |
run: cargo fmt --verbose -- --check --verbose | |
- name: Check formatting on fuzzing | |
run: cargo fmt --verbose --manifest-path fuzz/Cargo.toml -- --check --verbose |