[CI] Run Clippy on Rust code in CI
@@ -8,7 +8,7 @@ on:
- master
jobs:
- rust-lint:
+ rust-format:
runs-on: ubuntu-latest
steps:
@@ -19,6 +19,16 @@ jobs:
cd src/rust
cargo fmt -- --check
+ rust-lint:
+ runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: src/rust
+ steps:
+ - uses: actions/checkout@v2
+ - name: Run Clippy
+ run: bin/run-clippy.sh
+
python-lint:
runs-on: ubuntu-latest
