Put loom behind cfg(oneshot_loom) again #37
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
--- | |
name: Rust formatting | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/*.yml | |
- '**/*.rs' | |
workflow_dispatch: | |
jobs: | |
check-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
components: rustfmt | |
override: true | |
- name: Check formatting | |
run: | | |
rustfmt --version | |
cargo fmt -- --check |