Skip to content

Conversation

@GeekMasher
Copy link
Contributor

No description provided.

path = "./script/action.yml",
image = "./script/Dockerfile"
)]
pub struct RustToolingScriptAction {

Check warning

Code scanning / clippy

field token is never read Warning

field token is never read
path = "./script/action.yml",
image = "./script/Dockerfile"
)]
pub struct RustToolingScriptAction {

Check warning

Code scanning / clippy

field token is never read Warning

field token is never read
pub path: String,

#[input(description = "The Crates API Token", required = true)]
pub token: String,

Check warning

Code scanning / clippy

field token is never read Warning

field token is never read
pub path: String,

#[input(description = "The Crates API Token", required = true)]
pub token: String,

Check warning

Code scanning / clippy

field token is never read Warning

field token is never read
let mut data = self.script.clone();

if !data.starts_with("#!") {
data = format!("#!/usr/bin/env rust-script\n{}", data);

Check warning

Code scanning / clippy

value assigned to data is never read Warning

value assigned to data is never read
let mut data = self.script.clone();

if !data.starts_with("#!") {
data = format!("#!/usr/bin/env rust-script\n{}", data);

Check warning

Code scanning / clippy

value assigned to data is never read Warning

value assigned to data is never read

cmd.push(path.as_os_str().to_str().unwrap());

let mut output = tokio::process::Command::new("sh")

Check warning

Code scanning / clippy

variable does not need to be mutable Warning

variable does not need to be mutable

cmd.push(path.as_os_str().to_str().unwrap());

let mut output = tokio::process::Command::new("sh")

Check warning

Code scanning / clippy

variable does not need to be mutable Warning

variable does not need to be mutable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants