{{{{raw}}}} name: Format on: push: branches: - main pull_request: branches: - main - dev jobs: format: runs-on: ubuntu-latest strategy: fail-fast: false steps: - uses: actions/checkout@v3 - name: Install rustfmt with stable toolchain uses: dtolnay/rust-toolchain@stable with: components: rustfmt - uses: Swatinem/rust-cache@v2 - run: cargo fmt --manifest-path=Cargo.toml --all -- --check {{{{/raw}}}}