@@ -13,31 +13,31 @@ jobs:
1313 lint :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v4
17- - uses : jdx/mise-action@v3
16+ - uses : actions/checkout@v6
17+ - uses : jdx/mise-action@v4
1818 with :
19- version : 2024.10.0 # [default: latest] mise version to install
19+ version : 2026.3.10 # [default: latest] mise version to install
2020 install : true # [default: true] run `mise install`
2121 install_args : " bun" # [default: ""] additional arguments to `mise install`
2222 cache : true # [default: true] cache mise using GitHub's cache
2323 experimental : true # [default: false] enable experimental features
2424 log_level : debug # [default: info] log level
2525 # automatically write this .tool-versions file
2626 tool_versions : |
27- shellcheck 0.9 .0
27+ shellcheck 0.11 .0
2828 # or, if you prefer .mise.toml format:
2929 mise_toml : |
3030 [tools]
31- shellcheck = "0.9 .0"
31+ shellcheck = "0.11 .0"
3232 working_directory : app # [default: .] directory to run mise in
3333 reshim : false # [default: false] run `mise reshim -f`
3434 github_token : ${{ secrets.GITHUB_TOKEN }} # [default: ${{ github.token }}] GitHub token for API authentication
3535 - run : shellcheck scripts/*.sh
3636 test :
3737 runs-on : ubuntu-latest
3838 steps :
39- - uses : actions/checkout@v4
40- - uses : jdx/mise-action@v3
39+ - uses : actions/checkout@v6
40+ - uses : jdx/mise-action@v4
4141 # .tool-versions will be read from repo root
4242 - run : node ./my_app.js
4343` ` `
4747You can customize the cache key used by the action:
4848
4949` ` ` yaml
50- - uses : jdx/mise-action@v3
50+ - uses : jdx/mise-action@v4
5151 with :
5252 cache_key : " my-custom-cache-key" # Override the entire cache key
5353 cache_key_prefix : " mise-v1" # Or just change the prefix (default: "mise-v0")
@@ -58,7 +58,7 @@ You can customize the cache key used by the action:
5858When using ` cache_key`, you can use template variables to reference internal values:
5959
6060` ` ` yaml
61- - uses: jdx/mise-action@v3
61+ - uses: jdx/mise-action@v4
6262 with:
6363 cache_key: "mise-{{platform}}-{{version}}-{{file_hash}}"
6464 version: "2024.10.0"
@@ -78,18 +78,18 @@ Conditional logic is also supported using Handlebars syntax like `{{#if version}
7878
7979Example using multiple variables :
8080` ` ` yaml
81- - uses: jdx/mise-action@v3
81+ - uses: jdx/mise-action@v4
8282 with:
8383 cache_key: "mise-v1-{{platform}}-{{install_args_hash}}-{{file_hash}}"
8484 install_args: "node@20 python@3.12"
8585` ` `
8686
8787You can also extend the default cache key :
8888` ` ` yaml
89- - uses: jdx/mise-action@v3
89+ - uses: jdx/mise-action@v4
9090 with:
9191 cache_key: "{{default}}-custom-suffix"
92- install_args: "node@20 python@3.12 "
92+ install_args: "node@24 python@3.14 "
9393` ` `
9494
9595This gives you full control over cache invalidation based on the specific aspects that matter to your workflow.
@@ -99,7 +99,7 @@ This gives you full control over cache invalidation based on the specific aspect
9999When installing tools hosted on GitHub (like `gh`, `node`, `bun`, etc.), mise needs to make API calls to GitHub's releases API. Without authentication, these calls are subject to GitHub's rate limit of 60 requests per hour, which can cause installation failures.
100100
101101` ` ` yaml
102- - uses: jdx/mise-action@v3
102+ - uses: jdx/mise-action@v4
103103 with:
104104 github_token: ${{ secrets.GITHUB_TOKEN }}
105105 # your other configuration
0 commit comments