name: Rustfmt on: push jobs: format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@nightly with: components: rustfmt - uses: mbrobbel/rustfmt-check@master with: token: ${{ secrets.GITHUB_TOKEN }}