Skip to content

Commit a43c530

Browse files
authored
Merge pull request #251 from fox0/main
Add fmt check in CI
2 parents dd97832 + 6bc1478 commit a43c530

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/TestingCI.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,19 @@ 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
2323

2424
macos-homebrew:
25-
2625
runs-on: macos-latest
2726
steps:
2827
- uses: actions/checkout@v4
@@ -46,4 +45,3 @@ jobs:
4645
run: cargo build --release --verbose
4746
- name: Run tests
4847
run: cargo test --release --verbose
49-

0 commit comments

Comments
 (0)