chore: replace unmaintained github action #76
ci.yml
on: push
clippy_check
1m 40s
rustfmt
8s
Matrix: build
Annotations
7 errors and 2 warnings
build (x86_64-pc-windows-gnu, ubuntu-latest, false, .exe)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
build (x86_64-apple-darwin, macos-latest, false)
The job was canceled because "x86_64-pc-windows-gnu_ubu" failed.
|
build (x86_64-apple-darwin, macos-latest, false)
The operation was canceled.
|
build (x86_64-unknown-linux-gnu, ubuntu-latest, true)
The job was canceled because "x86_64-pc-windows-gnu_ubu" failed.
|
build (x86_64-unknown-linux-gnu, ubuntu-latest, true)
The operation was canceled.
|
build (x86_64-unknown-linux-musl, ubuntu-latest, true)
The job was canceled because "x86_64-pc-windows-gnu_ubu" failed.
|
build (x86_64-unknown-linux-musl, ubuntu-latest, true)
The operation was canceled.
|
the borrowed expression implements the required traits:
src/main.rs#L347
warning: the borrowed expression implements the required traits
--> src/main.rs:347:39
|
347 | let f = BufReader::new(File::open(&path).unwrap());
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
unneeded `return` statement:
src/main.rs#L38
warning: unneeded `return` statement
--> src/main.rs:38:9
|
38 | return "22".to_string();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
38 - return "22".to_string();
38 + "22".to_string()
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dbimport-x86_64-apple-darwin
|
2.2 MB |
|
dbimport-x86_64-pc-windows-gnu.exe
|
1.03 MB |
|