CI to only check folders in examples folder
@@ -83,6 +83,8 @@ fn main() {
// Ensure that no examples get added without an entry in EXAMPLES.
for entry in fs::read_dir("examples").unwrap() {
let entry = entry.unwrap();
+
+ if entry.file_type().unwrap().is_dir() {
let name = entry.file_name();
let name = name.to_str().unwrap();
@@ -95,3 +97,4 @@ fn main() {
}
}
}
+}
\ No newline at end of file
