Generate lockfile when not existing

Whenever the `file` argument is set give, then cargo audit will not generate the file if it doesn't exist
This commit is contained in:
Jonas Bushart
2024-01-19 23:59:25 +01:00
committed by GitHub
parent 6943412b48
commit 96eb2dcbe4
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ inputs:
file:
description: "Cargo lockfile to inspect"
required: false
default: "Cargo.lock"
default: ""
ignore:
description: "A comma separated list of Rustsec IDs to ignore"
required: false