Skip to content

Commit

Permalink
add formatting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-frmr committed Dec 20, 2023
1 parent 6bdbd8a commit 20e8a1d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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 }}

0 comments on commit 20e8a1d

Please sign in to comment.