Skip to content

Commit 1065587

Browse files
authored
Update CI (#21)
1 parent 242c668 commit 1065587

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
16-
- name: Build
17-
run: cargo build --verbose
18-
- name: Run tests
19-
run: cargo test --verbose
15+
- uses: actions/checkout@v4
16+
- name: Build
17+
run: cargo build --verbose
18+
- name: Check formatting
19+
run: cargo fmt -- --check
20+
- name: Check linting
21+
run: cargo clippy --all-targets --all-features -- -D warnings
22+
- name: Run tests
23+
run: cargo test --verbose

0 commit comments

Comments
 (0)