-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathmise.toml
More file actions
34 lines (27 loc) · 748 Bytes
/
mise.toml
File metadata and controls
34 lines (27 loc) · 748 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
33
34
# Pinned local toolchain for contributors. The Go version matches the
# CI toolchain; the module minimum stays in go.mod.
[settings]
experimental = true
lockfile = true
[tools]
go = "1.25.10"
golangci-lint = "2.8.0"
lefthook = "2.1.8"
[tasks.format]
description = "Format Go files"
run = "go fmt ./..."
[tasks.lint]
description = "Run the repository lint checks"
run = ".buildkite/steps/lint.sh"
[tasks.test]
description = "Run the Go test suite"
run = "go test -timeout=3s -v ./..."
[tasks.generate]
description = "Regenerate generated files"
run = "go generate ./..."
[tasks.hooks]
description = "Install the repository git hooks"
run = "lefthook install"
[tasks.ci]
description = "Run the main local CI checks"
depends = ["lint", "test"]