mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-14 13:50:33 +00:00
docs: bump versions listed im README.md (#407)
This PR bumps the versions mentioned in `README.md` to their latest versions.
This commit is contained in:
parent
abadabdb1f
commit
0409dde834
1 changed files with 13 additions and 13 deletions
26
README.md
26
README.md
|
|
@ -13,10 +13,10 @@ jobs:
|
|||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: jdx/mise-action@v3
|
||||
- uses: actions/checkout@v6
|
||||
- uses: jdx/mise-action@v4
|
||||
with:
|
||||
version: 2024.10.0 # [default: latest] mise version to install
|
||||
version: 2026.3.10 # [default: latest] mise version to install
|
||||
install: true # [default: true] run `mise install`
|
||||
install_args: "bun" # [default: ""] additional arguments to `mise install`
|
||||
cache: true # [default: true] cache mise using GitHub's cache
|
||||
|
|
@ -24,11 +24,11 @@ jobs:
|
|||
log_level: debug # [default: info] log level
|
||||
# automatically write this .tool-versions file
|
||||
tool_versions: |
|
||||
shellcheck 0.9.0
|
||||
shellcheck 0.11.0
|
||||
# or, if you prefer .mise.toml format:
|
||||
mise_toml: |
|
||||
[tools]
|
||||
shellcheck = "0.9.0"
|
||||
shellcheck = "0.11.0"
|
||||
working_directory: app # [default: .] directory to run mise in
|
||||
reshim: false # [default: false] run `mise reshim -f`
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }} # [default: ${{ github.token }}] GitHub token for API authentication
|
||||
|
|
@ -36,8 +36,8 @@ jobs:
|
|||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: jdx/mise-action@v3
|
||||
- uses: actions/checkout@v6
|
||||
- uses: jdx/mise-action@v4
|
||||
# .tool-versions will be read from repo root
|
||||
- run: node ./my_app.js
|
||||
```
|
||||
|
|
@ -47,7 +47,7 @@ jobs:
|
|||
You can customize the cache key used by the action:
|
||||
|
||||
```yaml
|
||||
- uses: jdx/mise-action@v3
|
||||
- uses: jdx/mise-action@v4
|
||||
with:
|
||||
cache_key: "my-custom-cache-key" # Override the entire cache key
|
||||
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:
|
|||
When using `cache_key`, you can use template variables to reference internal values:
|
||||
|
||||
```yaml
|
||||
- uses: jdx/mise-action@v3
|
||||
- uses: jdx/mise-action@v4
|
||||
with:
|
||||
cache_key: "mise-{{platform}}-{{version}}-{{file_hash}}"
|
||||
version: "2024.10.0"
|
||||
|
|
@ -78,7 +78,7 @@ Conditional logic is also supported using Handlebars syntax like `{{#if version}
|
|||
|
||||
Example using multiple variables:
|
||||
```yaml
|
||||
- uses: jdx/mise-action@v3
|
||||
- uses: jdx/mise-action@v4
|
||||
with:
|
||||
cache_key: "mise-v1-{{platform}}-{{install_args_hash}}-{{file_hash}}"
|
||||
install_args: "node@20 python@3.12"
|
||||
|
|
@ -86,10 +86,10 @@ Example using multiple variables:
|
|||
|
||||
You can also extend the default cache key:
|
||||
```yaml
|
||||
- uses: jdx/mise-action@v3
|
||||
- uses: jdx/mise-action@v4
|
||||
with:
|
||||
cache_key: "{{default}}-custom-suffix"
|
||||
install_args: "node@20 python@3.12"
|
||||
install_args: "node@24 python@3.14"
|
||||
```
|
||||
|
||||
This 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
|
|||
When 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.
|
||||
|
||||
```yaml
|
||||
- uses: jdx/mise-action@v3
|
||||
- uses: jdx/mise-action@v4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# your other configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue