Skip to content

feat: allow skipping cf contents in "db-utils copy" #512

feat: allow skipping cf contents in "db-utils copy"

feat: allow skipping cf contents in "db-utils copy" #512

Triggered via pull request February 26, 2024 16:40
Status Success
Total duration 20m 28s
Artifacts

docker-build.yml

on: pull_request
build-and-push-image
20m 20s
build-and-push-image
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
writing `&Vec` instead of `&[_]` involves a new object where a slice will do: src/genes/cli/data.rs#L372
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> src/genes/cli/data.rs:372:28 | 372 | fn serialize_vec<S>(x: &Vec<String>, s: S) -> Result<S::Ok, S::Error> | ^^^^^^^^^^^^ help: change this to: `&[String]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: src/db_utils/cli/copy.rs#L202
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/db_utils/cli/copy.rs:202:35 | 202 | if args.skip_cfs.contains(&cf_name) { | ^^^^^^^^ help: change this to: `cf_name` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
build-and-push-image
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: docker/login-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.