github: correctly pass --check to fmt

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-07-12 22:28:15 +05:30
parent 1280b76849
commit 3ae67e25e0
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80

View File

@ -35,7 +35,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
args: -- --check
- name: Annotate commit with clippy warnings
uses: actions-rs/clippy-check@v1