fix rust auto linting

This commit is contained in:
wieerwill 2023-12-06 21:09:01 +01:00
parent 2f35776696
commit 03d281aaee

View File

@ -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