mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-18 07:35:19 +00:00
Add formatting, linting, and testing to CI checks (#44)
This PR adds `cargo fmt -- --check`, `nx lint ...` and `nx test ...` as GitHub Actions. This will cause future PRs to automatically fail when formatting issues, Clippy warnings, or test failures are present in the changed code.
This commit is contained in:
@@ -548,7 +548,7 @@ impl Bvh {
|
||||
let mut tokens = line.fields();
|
||||
|
||||
let frame_time_kw = tokens.next();
|
||||
if frame_time_kw == FRAME_TIME_KEYWORDS.get(0).copied() {
|
||||
if frame_time_kw == FRAME_TIME_KEYWORDS.first().copied() {
|
||||
// do nothing
|
||||
} else {
|
||||
return Err(LoadMotionError::MissingFrameTime {
|
||||
|
||||
Reference in New Issue
Block a user