Create rust-fmt action

Automatic rust formatting
This commit is contained in:
LDprg 2023-07-14 16:52:54 +02:00 committed by GitHub
parent 2ca57ba6a3
commit 169b3c8f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
.github/workflows/rust-fmt vendored Normal file
View File

@ -0,0 +1,14 @@
name: Rust Fmt
on:
push:
branches: [ "rewrite" ]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mbrobbel/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}