diff --git a/.forgejo/workflows/rust.yml b/.forgejo/workflows/rust.yml index abe8d78..788c0d0 100644 --- a/.forgejo/workflows/rust.yml +++ b/.forgejo/workflows/rust.yml @@ -11,6 +11,8 @@ jobs: - uses: actions/checkout@v4 - run: rustup component add rustfmt clippy - run: cargo fmt -- --check + continue-on-error: true - run: cargo clippy -- -D warnings + continue-on-error: true - run: cargo check - - run: cargo test \ No newline at end of file + - run: cargo test diff --git a/src/main.rs b/src/main.rs index a32c53a..3ec9c3e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -67,7 +67,7 @@ fn main() -> Result<()> { .map(|x| { format!( "{} {}", - extract_date_time(&x.to_string()).first().unwrap(), + extract_date_time(x).first().unwrap(), extract_message(x) ) })