Skip to content

Commit

Permalink
rustfmt github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurakgun authored Oct 24, 2023
1 parent 341f41b commit 56aaf02
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: push

# see: https://github.com/marketplace/actions/rust-rustfmt-check

name: rustfmt

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 }}

0 comments on commit 56aaf02

Please sign in to comment.