sts-cat 0.3.0

Yet another GitHub STS, aims to be easy-self-hosting and cloud-agnostic
Documentation
amends "package://github.com/jdx/hk/releases/download/v1.37.0/hk@1.37.0#/Config.pkl"
import "package://github.com/jdx/hk/releases/download/v1.37.0/hk@1.37.0#/Builtins.pkl"

local linters = new Mapping<String, Step> {
  ["cargo-clippy"] = Builtins.cargo_clippy
  ["cargo-fmt"] = Builtins.cargo_fmt
  ["newlines"] = Builtins.newlines
  ["actionlint"] = Builtins.actionlint
}

hooks {
    ["pre-commit"] {
        fix = true
        stash = "git"
        steps = linters
    }
    ["fix"] {
        fix = true
        steps = linters
    }
    ["check"] {
        steps = linters
    }
}