Skip to content

Update README.md

Update README.md #5243

Workflow file for this run

name: Rustfmt
on:
pull_request:
push:
branches:
- master
- stable
jobs:
rustfmt:
name: Cargo fmt
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- name: Checkout sources
uses: actions/[email protected]
with:
fetch-depth: 50
submodules: 'recursive'
- name: Install Rust stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: cargo fmt
run: |
cd rust
cargo fmt --all -- --check