name: Rustfmt check on: push: branches: - master pull_request: types: [opened, synchronize, reopened, ready_for_review] jobs: quick_check: strategy: matrix: os: ["ubuntu-latest"] runs-on: ${{ matrix.os }} container: image: paritytech/ci-unified:bullseye-1.70.0-2023-05-23-v20230706 steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Cargo fmt run: cargo +nightly fmt --all -- --check