-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhk.pkl
More file actions
32 lines (31 loc) · 757 Bytes
/
hk.pkl
File metadata and controls
32 lines (31 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
amends "package://github.com/jdx/hk/releases/download/v1.36.0/hk@1.36.0#/Config.pkl"
import "package://github.com/jdx/hk/releases/download/v1.36.0/hk@1.36.0#/Builtins.pkl"
hooks {
["pre-commit"] {
fix = true
stash = "git"
steps {
["pkl-gen"] {
glob = ".github/pkl/**/*.*"
fix = "mise run pkl:gen && git add .github/"
}
["dotnet-format"] {
glob = "src/**/*.*"
fix = "dotnet format"
check = "dotnet format --verify-no-changes"
stage = "src/"
}
["dotnet-build"] {
glob = List("src/**/*.*", "**/*.slnx")
check = "mise run build"
}
}
}
["pre-push"] {
steps {
["dotnet-test"] {
check = "mise run test"
}
}
}
}