Skip to content

Commit e663b62

Browse files
committed
Replace asdf with mise
1 parent 0639285 commit e663b62

File tree

6 files changed

+15
-9
lines changed

6 files changed

+15
-9
lines changed

.github/renovate.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"automerge": true,
44
"automergeStrategy": "squash",
55
"configMigration": true,
6+
"extends": ["helpers:pinGitHubActionDigests"],
7+
"labels": ["dependencies", "skip-changelog"],
8+
"packageRules": [],
69
"pre-commit": {
710
"enabled": true
811
}

.github/workflows/tox.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
sudo apt-get update \
6969
&& sudo apt-get install -y libvirt-dev zsh
7070
71+
- name: Install mise
72+
uses: jdx/mise-action@v2
73+
7174
- name: Set up Python ${{ matrix.python_version || '3.10' }}
7275
if: "!contains(matrix.shell, 'wsl')"
7376
uses: actions/setup-python@v5
@@ -126,8 +129,7 @@ jobs:
126129
needs:
127130
- build
128131

129-
runs-on: ubuntu-latest
130-
132+
runs-on: ubuntu-22.04
131133
steps:
132134
# checkout needed for codecov action which needs codecov.yml file
133135
- uses: actions/checkout@v4

.readthedocs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ build:
1010
tools:
1111
python: "3.11"
1212
commands:
13-
- asdf --version
14-
- asdf plugin add github-cli
15-
- asdf install
16-
- pip install --user tox
17-
- python3 -m tox -e docs -- --strict --site-dir=_readthedocs/html/
13+
- curl https://mise.run | sh
14+
- ~/.local/bin/mise trust"
15+
- ~/.local/bin/mise exec --command "python3 -m pip install tox"
16+
- ~/.local/bin/mise exec --command "python3 -m tox -e docs"
1817
python:
1918
install:
2019
- method: pip

.tool-versions

Lines changed: 0 additions & 1 deletion
This file was deleted.

mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[tools]
2+
github-cli = "latest"
3+
python = "latest"

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ skip_install = false
107107
usedevelop = true
108108
commands =
109109
sh -c "cd docs && mk changelog"
110-
mkdocs build {posargs:}
110+
mkdocs build --strict --site-dir=_readthedocs/html/ {posargs:}
111111
white_list_externals =
112112
sh
113113

0 commit comments

Comments
 (0)