From 81d621d8aa68542ff56f64bf761078ea1271ba8e Mon Sep 17 00:00:00 2001 From: Valentin Maerten Date: Sun, 7 Jun 2026 14:46:01 +0200 Subject: [PATCH] chore: add mise config for dev environment setup (#2863) Co-authored-by: Andrey Nering --- mise.toml | 12 ++++++++++++ website/src/docs/contributing.md | 14 ++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 mise.toml diff --git a/mise.toml b/mise.toml new file mode 100644 index 00000000..17d658a5 --- /dev/null +++ b/mise.toml @@ -0,0 +1,12 @@ +[tools] +# Runtimes +go = "1.25.10" +node = "24" +pnpm = "11.5.0" + +# Dev tools +golangci-lint = "2.12.2" +mockery = "3.2.2" +gotestsum = "latest" +goreleaser = "2" +"go:golang.org/x/exp/cmd/gorelease" = "latest" diff --git a/website/src/docs/contributing.md b/website/src/docs/contributing.md index 93988e05..8ed4faea 100644 --- a/website/src/docs/contributing.md +++ b/website/src/docs/contributing.md @@ -65,6 +65,19 @@ a human. Always remind contributors to disclose AI usage in their submissions. ## 1. Setup +The easiest way to install everything you need to work on Task is +[mise][mise]. From the repository root, run: + +```shell +mise install +``` + +This installs the pinned versions of Go, Node.js, pnpm and the dev tools +(`golangci-lint`, `mockery`, `gotestsum`, `goreleaser` and `gorelease`) +declared in the `mise.toml` file. + +If you'd rather install things manually, you'll need: + - **Go** - Task is written in [Go][go]. We always support the latest two major Go versions, so make sure your version is recent enough. - **Node.js** - [Node.js][nodejs] is used to host Task's documentation server @@ -194,6 +207,7 @@ If you have questions, feel free to ask them in the `#help` forum channel on our [prettier]: https://prettier.io [nodejs]: https://nodejs.org/en/ [pnpm]: https://pnpm.io/ +[mise]: https://mise.jdx.dev [vitepress]: https://vitepress.dev [json-schema]: https://github.com/go-task/task/blob/main/website/src/public/schema.json