Skip to content

Commit b8dc37c

Browse files
committed
Document Mise support
1 parent b932b88 commit b8dc37c

3 files changed

Lines changed: 58 additions & 0 deletions

File tree

.github/workflows/test_prebuilt_binaries.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,31 @@ jobs:
308308
- name: Run smoke test
309309
run: sh .github/scripts/smoke-test.sh "$(which celq)"
310310

311+
test-mise-install:
312+
name: Test mise (conda backend) on Windows (Git Bash)
313+
runs-on: windows-latest
314+
needs: test-choco-install
315+
defaults:
316+
run:
317+
shell: bash
318+
steps:
319+
- uses: actions/checkout@v4
320+
321+
- name: Install celq via mise
322+
uses: jdx/mise-action@v3
323+
with:
324+
cache: false
325+
github_token: ${{ secrets.GITHUB_TOKEN }}
326+
mise_toml: |
327+
[tools]
328+
"conda:celq" = "latest"
329+
330+
- name: Print celq version
331+
run: celq --version
332+
333+
- name: Run smoke test
334+
run: sh .github/scripts/smoke-test.sh "$(which celq)"
335+
311336
test-nix-flake:
312337
name: Test Nix flake validity and run
313338
runs-on: ubuntu-24.04
@@ -399,6 +424,7 @@ jobs:
399424
- test-choco-install
400425
- test-winget-install
401426
- test-pixi-install
427+
- test-mise-install
402428
- test-nix-flake
403429
- test-nix-flake-dev
404430
- test-freebsd-install
@@ -422,6 +448,7 @@ jobs:
422448
echo "- chocolatey install: ${{ needs.test-choco-install.result }}"
423449
echo "- winget install: ${{ needs.test-winget-install.result }}"
424450
echo "- pixi (conda-forge): ${{ needs.test-pixi-install.result }}"
451+
echo "- mise (conda backend): ${{ needs.test-mise-install.result }}"
425452
echo "- nix flake: ${{ needs.test-nix-flake.result }}"
426453
echo "- nix flake (latest): ${{ needs.test-nix-flake-dev.result }}"
427454
echo "- freebsd install: ${{ needs.test-freebsd-install.result }}"
@@ -440,6 +467,7 @@ jobs:
440467
[ "${{ needs.test-choco-install.result }}" != "success" ] || \
441468
[ "${{ needs.test-winget-install.result }}" != "success" ] || \
442469
[ "${{ needs.test-pixi-install.result }}" != "success" ] || \
470+
[ "${{ needs.test-mise-install.result }}" != "success" ] || \
443471
[ "${{ needs.test-nix-flake.result }}" != "success" ] || \
444472
[ "${{ needs.test-nix-flake-dev.result }}" != "success" ] || \
445473
[ "${{ needs.test-freebsd-install.result }}" != "success" ]; then

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,21 @@ If you have [pixi](https://pixi.prefix.dev/latest/), you can run celq in a tempo
209209
pixi exec celq -n '"Hello World"'
210210
```
211211

212+
### Mise
213+
214+
celq can be used with [mise](https://mise.jdx.dev/). To install celq, use the Conda back-end:
215+
216+
```
217+
mise use -g conda:celq
218+
```
219+
220+
Alternatively, add this to `mise.toml`:
221+
222+
```toml
223+
[tools]
224+
"conda:celq" = "latest"
225+
```
226+
212227
## Limitations
213228

214229
### Eager JSON Parsing

docs/installation_guide.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,21 @@ If you have [pixi](https://pixi.prefix.dev/latest/), you can run celq in a tempo
219219
pixi exec celq -n '"Hello World"'
220220
```
221221

222+
### Mise
223+
224+
celq can be used with [mise](https://mise.jdx.dev/). To install celq, use the Conda back-end:
225+
226+
```
227+
mise use -g conda:celq
228+
```
229+
230+
Alternatively, add this to `mise.toml`:
231+
232+
```toml
233+
[tools]
234+
"conda:celq" = "latest"
235+
```
236+
222237
## Integrity and Authenticity
223238

224239
`celq` publishes a `SHA256SUMS` file for each of its release in the [GitHub Releases page](https://github.com/IvanIsCoding/celq/releases). The checksum can be used to verify integrity of the downloaded files.

0 commit comments

Comments
 (0)