Skip to content

Commit cf0b435

Browse files
authored
Add rustfmt/clippy to the CI (#22)
1 parent 5674886 commit cf0b435

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ on:
66
branches: [main]
77

88
jobs:
9+
Check_Formatting:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: hecrj/setup-rust-action@v1
14+
with:
15+
rust-version: stable
16+
components: rustfmt
17+
- name: Check Formatting
18+
run: cargo +stable fmt --all -- --check
19+
920
tests:
1021
name: Tests
1122
strategy:

0 commit comments

Comments
 (0)