Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions hk.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
// nnutter/hk-config. The hk-config version must target the hk pin in
// mise.toml, and the revision is the newest one released for that hk version.
amends
"package://github.com/nnutter/hk-config/releases/download/v2.11.1-2/hk-config@2.11.1-2#/Config.pkl"
"package://github.com/nnutter/hk-config/releases/download/v2.12.0-0/hk-config@2.12.0-0#/Config.pkl"

import
"package://github.com/nnutter/hk-config/releases/download/v2.11.1-2/hk-config@2.11.1-2#/Builtins.pkl"
"package://github.com/nnutter/hk-config/releases/download/v2.12.0-0/hk-config@2.12.0-0#/Builtins.pkl"
as Extra
import
"package://github.com/nnutter/hk-config/releases/download/v2.11.1-2/hk-config@2.11.1-2#/Hooks.pkl"
"package://github.com/nnutter/hk-config/releases/download/v2.12.0-0/hk-config@2.12.0-0#/Hooks.pkl"
as Hooks

/// Test fixtures hold deliberately invalid input for the tests that read them.
Expand All @@ -28,7 +28,7 @@ local const constableDev = (Extra.constable) {
// `go`, `toml`, `yaml`, and `agentskills` are the groups this repository needs.
//
// A replaced step is a new step, so the template's order does not reach it: the
// go group runs constable after testifylint, and the replacement keeps that
// go group runs constable after go_fix, and the replacement keeps that
// place in the hooks that fix.
hooks = (Hooks.all(List("go", "toml", "yaml", "agentskills"))) {
["check"] {
Expand All @@ -38,12 +38,12 @@ hooks = (Hooks.all(List("go", "toml", "yaml", "agentskills"))) {
}
["fix"] {
steps {
["constable"] = (constableDev) { depends = List("testifylint") }
["constable"] = (constableDev) { depends = List("go_fix") }
}
}
["pre-commit"] {
steps {
["constable"] = (constableDev) { depends = List("testifylint") }
["constable"] = (constableDev) { depends = List("go_fix") }
}
}
}
Loading
Loading