diff --git a/.github/workflows/rust-fmt.yml b/.github/workflows/rust-fmt.yml new file mode 100644 index 00000000..0cb4cfa1 --- /dev/null +++ b/.github/workflows/rust-fmt.yml @@ -0,0 +1,16 @@ +on: pull_request + +name: rust-fmt + +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 }} + \ No newline at end of file