mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2026-11-05 13:21:01 +00:00
Add formatting and linting checks to CI
This commit is contained in:
1 parent
05423065c1
commit
23ac9a9533
13 files changed
+21
-14
No files matched your search
@@ -35,6 +35,12 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y hyperfine jq bc # For benchmarks within run_all_tests.sh
|
||||
|
||||
- name: Check formatting
|
||||
run: cargo fmt -- --check
|
||||
|
||||
- name: Lint with Clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
|
||||
- name: Ensure run_all_tests.sh is executable
|
||||
run: chmod +x ./run_all_tests.sh
|
||||
|
||||
|
||||
Reference in new issue
Block a user