stratumiops/action-nodes/lint-crate.ncl

13 lines
453 B
Plaintext
Raw Permalink Normal View History

let base = import "../nickel/stratum-base/stratum-base.ncl" in
{
id = "lint-crate",
handler = "scripts/nu/lint.nu",
input_schemas = {},
output_schemas = { "linted-code" = "schemas/capabilities/linted-code.ncl" },
compensate = null,
retry = { max = 2, backoff_secs = 5, strategy = 'fixed },
timeout_secs = 120,
atomic = true,
triggers = ["dev.crate.*.modified"],
} | base.NodeDefinition