Skip to content

Commit a83608b

Browse files
committed
Check formatting in CI.
1 parent 2fef92c commit a83608b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@ on:
33
push: { branches: "master" }
44
pull_request: { branches: "*" }
55
jobs:
6+
check-fmt:
7+
name: Check formatting
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- run: cargo fmt -- --check
612
build:
13+
name: Build and test
714
runs-on: ubuntu-latest
815
steps:
916
- name: Install Rust nightly

0 commit comments

Comments
 (0)