fix rust auto linting
This commit is contained in:
parent
2f35776696
commit
03d281aaee
10
.github/workflows/lint.yml
vendored
10
.github/workflows/lint.yml
vendored
@ -57,5 +57,11 @@ jobs:
|
||||
# Lint Rust files
|
||||
- name: Lint Rust
|
||||
run: |
|
||||
cd Day*/rust
|
||||
cargo clippy -- -D warnings
|
||||
for dir in Day*/rust; do
|
||||
if [ -d "$dir" ]; then
|
||||
echo "Linting $dir"
|
||||
cd $dir
|
||||
cargo clippy -- -D warnings
|
||||
cd - # Go back to the root directory
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user