Skip to content

Commit

Permalink
added cargo fmt to build checks
Browse files Browse the repository at this point in the history
  • Loading branch information
babymotte committed Feb 9, 2025
1 parent 7de6ddd commit 0e52452
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
default: true
override: true

- name: Run format check
run: cargo fmt --check
- name: Run linter FOSS
run: cargo clippy
- name: Run linter commercial
Expand Down
3 changes: 2 additions & 1 deletion check.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

cargo clippy &&
cargo fmt --check &&
cargo clippy &&
cargo clippy --features=commercial &&
cargo test &&
cargo test --features=commercial

0 comments on commit 0e52452

Please sign in to comment.