Skip to content

Commit

Permalink
GitHub Action for rustfmt check
Browse files Browse the repository at this point in the history
  • Loading branch information
kazcw committed Oct 24, 2021
1 parent e9c9ceb commit 50f6fa2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/check-rustfmt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: check-rustfmt
on: pull_request
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: cargo-fmt
run: cargo fmt -- --check

0 comments on commit 50f6fa2

Please sign in to comment.