New feature: Suspendable (serializable state) #59
Workflow file for this run
This file contains hidden or 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 Style | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: rust-style-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| rustfmt: | |
| if: github.repository == 'bcgit/bc-rust' | |
| name: rustfmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install nightly rustfmt | |
| run: | | |
| rustup toolchain install nightly --profile minimal --component rustfmt | |
| rustup override set nightly | |
| - name: Check formatting | |
| run: cargo fmt --all --check |