Skip to content

setting mode=review so it doesn't silently commit. also run on PRs. #2

setting mode=review so it doesn't silently commit. also run on PRs.

setting mode=review so it doesn't silently commit. also run on PRs. #2

Workflow file for this run

# see: https://github.com/marketplace/actions/rust-rustfmt-check
name: rustfmt
on:
push:
pull_request:
permissions:
pull-requests: write
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: mbrobbel/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
mode: review