Skip to content

Commit 284a8aa

Browse files
committed
Add fmt check in CI
1 parent dd97832 commit 284a8aa

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/TestingCI.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,21 @@ env:
99

1010
jobs:
1111
linux-ubuntu:
12-
1312
runs-on: ubuntu-latest
14-
1513
steps:
16-
- uses: actions/checkout@v4
17-
- name: Fetch
18-
run: cargo fetch
19-
- name: Build
20-
run: cargo build --release --verbose
21-
- name: Run tests
22-
run: cargo test --release --verbose
14+
- uses: actions/checkout@v4
15+
- name: Fetch
16+
run: cargo fetch
17+
- name: Build
18+
run: cargo build --release --verbose
19+
- name: Run tests
20+
run: cargo test --release --verbose
21+
- name: Run fmt check
22+
run: cargo fmt --all -- --check
23+
# - name: Run clippy check
24+
# run: cargo clippy --all-features -- -D warnings
2325

2426
macos-homebrew:
25-
2627
runs-on: macos-latest
2728
steps:
2829
- uses: actions/checkout@v4
@@ -46,4 +47,3 @@ jobs:
4647
run: cargo build --release --verbose
4748
- name: Run tests
4849
run: cargo test --release --verbose
49-

0 commit comments

Comments
 (0)