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-linux:production steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Cargo fmt run: cargo +nightly fmt --all -- --check