Skip to content

Commit

Permalink
Add Rust action to check formatting (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM authored Jan 21, 2024
1 parent 7fac318 commit c40b9d5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/rust-fmt.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit c40b9d5

Please sign in to comment.