Replace asdf/direnv with mise (#2624)
* chore: migrate from asdf/direnv to mise
Replace asdf (.tool-versions) and direnv (.envrc) with mise for
development tooling. Python is managed by uv, not mise.
- Add mise.toml with go and uv set to latest
- Remove .envrc, .tool-versions, .python-version
- Remove /.direnv from .gitignore
* ci: use mise for Go-only jobs (test-go, release)
Replace actions/setup-go with jdx/mise-action which reads
mise.toml to install Go.
* ci: use mise for build-python job
Replace actions/setup-go + astral-sh/setup-uv with jdx/mise-action.
* ci: use mise for lint and test-integration-matrix jobs
Replace setup-go + setup-python + setup-cached-uv with mise-action.
Remove explicit tox installation - Makefile uses 'uv run tox' which
handles tox automatically.
* ci: use mise for coglet test jobs
- test-coglet-go: Replace setup-go + setup-uv with mise-action
- test-coglet-python: Replace setup-python + setup-cached-uv with
mise-action, use UV_PYTHON for matrix version, switch from
'uv pip install --system' to 'uv sync' and 'uv run'
* ci: use mise for test-python job
Replace setup-python + setup-cached-uv with mise-action.
Use UV_PYTHON env var for matrix Python version.
Use 'uvx --with tox-uv tox' instead of 'uv pip install --system'.
* docs: update setup instructions for mise
- script/setup now runs mise install automatically
- CONTRIBUTING.md simplified to require mise + Docker
- Remove outdated .python-version reference
* fix(ci): correct pytest path for test-coglet-python
The test path should be coglet/python/tests, not python/tests
(which is the main cog tests directory).
---------
Co-authored-by: Matt Dwan <mdwan@replicate.com>