13
0
Fork 0
mirror of https://github.com/jdx/mise-action.git synced 2026-07-04 02:19:32 +00:00
No description
Find a file
renovate[bot] 9e61cb613a
chore(deps): update dependency eslint to v10.6.0 (#545)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [eslint](https://eslint.org)
([source](https://redirect.github.com/eslint/eslint)) | [`10.5.0` β†’
`10.6.0`](https://renovatebot.com/diffs/npm/eslint/10.5.0/10.6.0) |
![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/10.6.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/10.5.0/10.6.0?slim=true)
|

---

### Release Notes

<details>
<summary>eslint/eslint (eslint)</summary>

###
[`v10.6.0`](https://redirect.github.com/eslint/eslint/releases/tag/v10.6.0)

[Compare
Source](https://redirect.github.com/eslint/eslint/compare/v10.5.0...v10.6.0)

#### Features

-
[`b1f9106`](b1f910628e)
feat: detect Symbol() and BigInt() in no-constant-binary-expression
([#&#8203;20981](https://redirect.github.com/eslint/eslint/issues/20981))
(Taejin Kim)
-
[`f291007`](f291007cb7)
feat: add checkRelationalComparisons to no-constant-binary-expression
([#&#8203;20948](https://redirect.github.com/eslint/eslint/issues/20948))
(sethamus)

#### Bug Fixes

-
[`6b05784`](6b05784eb2)
fix: prefer-exponentiation-operator invalid autofix at statement start
([#&#8203;20997](https://redirect.github.com/eslint/eslint/issues/20997))
(Milos Djermanovic)
-
[`bb9eb2a`](bb9eb2ab28)
fix: account for shadowed `Boolean` in `no-extra-boolean-cast`
([#&#8203;21013](https://redirect.github.com/eslint/eslint/issues/21013))
(den$)
-
[`8fd8741`](8fd8741009)
fix: don't report shadowed undefined in `radix` rule
([#&#8203;21011](https://redirect.github.com/eslint/eslint/issues/21011))
(Pixel)
-
[`5784980`](5784980ce8)
fix: don't report shadowed undefined in no-throw-literal
([#&#8203;21010](https://redirect.github.com/eslint/eslint/issues/21010))
(Pixel)
-
[`9cd1e6d`](9cd1e6de5b)
fix: suppress invalid class suggestion in no-promise-executor-return
([#&#8203;21008](https://redirect.github.com/eslint/eslint/issues/21008))
(Pixel)
-
[`d4eb2dc`](d4eb2dc95f)
fix: don't report shadowed undefined in prefer-promise-reject-errors
([#&#8203;21006](https://redirect.github.com/eslint/eslint/issues/21006))
(Pixel)
-
[`2360464`](23604646db)
fix: prefer-promise-reject-errors false positives for shadowed Promise
([#&#8203;21003](https://redirect.github.com/eslint/eslint/issues/21003))
(den$)
-
[`63d52d2`](63d52d28de)
fix: restore max-classes-per-file report range
([#&#8203;21002](https://redirect.github.com/eslint/eslint/issues/21002))
(Pixel)
-
[`7feaff0`](7feaff0cfb)
fix: callback detection logic for IIFEs in max-nested-callbacks
([#&#8203;20979](https://redirect.github.com/eslint/eslint/issues/20979))
(fnx)
-
[`399a2ec`](399a2ec81b)
fix: don't report inner non-callbacks in `max-nested-callbacks`
([#&#8203;20995](https://redirect.github.com/eslint/eslint/issues/20995))
(Milos Djermanovic)

#### Documentation

-
[`a83683d`](a83683db1c)
docs: Update README (GitHub Actions Bot)
-
[`f5449f9`](f5449f96c2)
docs: document userland patterns for global assertionOptions in RuleT…
([#&#8203;20986](https://redirect.github.com/eslint/eslint/issues/20986))
(playgirl)
-
[`bea49f7`](bea49f7b28)
docs: Update README (GitHub Actions Bot)
-
[`e5f70f9`](e5f70f9b06)
docs: update code-path diagrams
([#&#8203;20984](https://redirect.github.com/eslint/eslint/issues/20984))
(Tanuj Kanti)
-
[`8890c2d`](8890c2d408)
docs: add TypeScript config guidance for MCP server
([#&#8203;20796](https://redirect.github.com/eslint/eslint/issues/20796))
(Pierluigi Lenoci)
-
[`3eb3d9b`](3eb3d9b1b5)
docs: Update README (GitHub Actions Bot)
-
[`c5bb59c`](c5bb59cf61)
docs: Update README (GitHub Actions Bot)
-
[`eb3c97c`](eb3c97c776)
docs: fix grammar in prefer-const rule description
([#&#8203;20983](https://redirect.github.com/eslint/eslint/issues/20983))
(lumir)

#### Chores

-
[`6a42034`](6a42034a57)
ci: run ecosystem tests on main branch
([#&#8203;20891](https://redirect.github.com/eslint/eslint/issues/20891))
(sethamus)
-
[`3dbacdb`](3dbacdbb31)
ci: bump actions/checkout from 6 to 7
([#&#8203;21014](https://redirect.github.com/eslint/eslint/issues/21014))
(dependabot\[bot])
-
[`c3abfca`](c3abfca7c9)
chore: correct JSDoc param types in html formatter
([#&#8203;21018](https://redirect.github.com/eslint/eslint/issues/21018))
(Minseon Kim)
-
[`a832320`](a8323209cd)
ci: split ecosystem tests into separate jobs
([#&#8203;21001](https://redirect.github.com/eslint/eslint/issues/21001))
(xbinaryx)
-
[`27166e7`](27166e7851)
chore: update ecosystem plugins
([#&#8203;21005](https://redirect.github.com/eslint/eslint/issues/21005))
(ESLint Bot)
-
[`865d76e`](865d76e401)
ci: bump pnpm/action-setup from 6.0.8 to 6.0.9
([#&#8203;20989](https://redirect.github.com/eslint/eslint/issues/20989))
(dependabot\[bot])
-
[`27a88c9`](27a88c9fa7)
chore: update dependency markdown-it to v14 in root
([#&#8203;20994](https://redirect.github.com/eslint/eslint/issues/20994))
(Milos Djermanovic)
-
[`970cea6`](970cea62b2)
chore: update dependency markdown-it to v14
([#&#8203;20993](https://redirect.github.com/eslint/eslint/issues/20993))
(Milos Djermanovic)
-
[`b482120`](b482120bac)
chore: update dependency prettier to v3.8.4
([#&#8203;20990](https://redirect.github.com/eslint/eslint/issues/20990))
(renovate\[bot])
-
[`6993fb3`](6993fb3173)
chore: update ecosystem plugins
([#&#8203;20985](https://redirect.github.com/eslint/eslint/issues/20985))
(ESLint Bot)

</details>

---

### Configuration

πŸ“… **Schedule**: (in timezone America/Chicago)

- Branch creation
  - Only on Friday (`* * * * 5`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/jdx/mise-action).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDIuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 21:32:20 +00:00
.codex Enable Entire for Codex (#529) 2026-06-25 14:25:38 -05:00
.entire Enable Entire for Codex (#529) 2026-06-25 14:25:38 -05:00
.github chore(deps): update zizmorcore/zizmor-action action to v0.5.7 (#540) 2026-07-03 09:33:19 +00:00
.husky fix: fall back to wget when curl is unavailable (#521) 2026-06-17 14:26:03 -04:00
dist chore(deps): update dependency @actions/cache to v6.1.0 (#532) 2026-07-01 20:25:04 +00:00
scripts fix(ci): add gh auth setup-git to release-plz.sh (#473) 2026-05-12 15:20:22 -05:00
src fix: fall back to wget when curl is unavailable (#521) 2026-06-17 14:26:03 -04:00
.eslintrc.yml feat: support windows (#122) 2024-09-25 21:27:52 +00:00
.gitattributes updated action template base from actions/typescript-action (#170) 2023-10-16 19:18:57 -05:00
.gitignore chore: migrate package manager from npm/pnpm/bun to aube (#455) 2026-04-29 09:13:34 -05:00
.npmrc chore: migrate package manager from npm/pnpm/bun to aube (#455) 2026-04-29 09:13:34 -05:00
.prettierignore updated action template base from actions/typescript-action (#170) 2023-10-16 19:18:57 -05:00
.prettierrc.json updated action template base from actions/typescript-action (#170) 2023-10-16 19:18:57 -05:00
action.yml feat: support bootstrap mode (#522) 2026-06-16 21:43:53 -05:00
CHANGELOG.md chore: release v4.2.0 (#504) 2026-06-17 13:28:36 -05:00
CLAUDE.md chore: migrate package manager from npm/pnpm/bun to aube (#455) 2026-04-29 09:13:34 -05:00
cliff.toml docs: hide release entries in CHANGELOG 2025-08-18 11:50:35 -05:00
CODEOWNERS jdxcode -> jdx 2023-08-27 12:12:44 -05:00
eslint.config.mjs chore: updated deps 2024-11-27 18:10:51 -06:00
LICENSE Initial commit 2023-01-14 08:11:40 -06:00
mise.lock chore: update aube tool version (#501) 2026-05-31 09:20:02 -05:00
mise.toml chore: update aube tool version (#501) 2026-05-31 09:20:02 -05:00
package-lock.json chore(deps): update dependency eslint to v10.6.0 (#545) 2026-07-03 21:32:20 +00:00
package.json chore(deps): update dependency js-yaml to v5 (#543) 2026-07-03 09:34:00 +00:00
README.md feat: support bootstrap mode (#522) 2026-06-16 21:43:53 -05:00
rollup.config.mjs chore: migrate package manager from npm/pnpm/bun to aube (#455) 2026-04-29 09:13:34 -05:00
tsconfig.json chore: migrate from ncc (CJS) to rollup (ESM) (#436) 2026-04-11 12:55:09 -05:00

Example Workflow

name: test
on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: jdx/mise-action@v4
        with:
          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`
          bootstrap: false # [default: false] run `mise bootstrap` instead of `mise install`
          bootstrap_skip: "tools,task" # [default: ""] comma-separated parts to skip when bootstrapping
          bootstrap_args: "--yes" # [default: ""] additional arguments to `mise bootstrap`
          cache: true # [default: true] cache mise using GitHub's cache
          experimental: true # [default: false] enable experimental features
          log_level: debug # [default: info] log level
          # automatically write this .tool-versions file
          tool_versions: |
            shellcheck 0.11.0
          # or, if you prefer .mise.toml format:
          mise_toml: |
            [tools]
            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
      - run: shellcheck scripts/*.sh
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: jdx/mise-action@v4
      # .tool-versions will be read from repo root
      - run: node ./my_app.js

Cache Configuration

You can customize the cache key used by the action:

- 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")

Template Variables in Cache Keys

When using cache_key, you can use template variables to reference internal values:

- uses: jdx/mise-action@v4
  with:
    cache_key: "mise-{{platform}}-{{version}}-{{file_hash}}"
    version: "2026.3.10"
    install_args: "node python"

Available template variables:

  • {{version}} - The mise version (from the version input)
  • {{cache_key_prefix}} - The cache key prefix (from cache_key_prefix input or default)
  • {{platform}} - The target platform, including the runner image (e.g., "linux-x64-ubuntu24", "macos-arm64-macos15", "linux-x64-self-hosted"). The trailing segment is process.env.ImageOS on github-hosted runners and falls back to "self-hosted" elsewhere β€” preventing cache collisions when the same repo runs on different runner providers (github-hosted, namespace.so, self-hosted).
  • {{file_hash}} - Hash of all mise configuration files
  • {{mise_env}} - The MISE_ENV environment variable value
  • {{install_args_hash}} - SHA256 hash of the sorted tools from install args
  • {{bootstrap_hash}} - SHA256 hash of bootstrap mode, skip list, and args
  • {{default}} - The processed default cache key (useful for extending)

Conditional logic is also supported using Handlebars syntax like {{#if version}}...{{/if}}.

Example using multiple variables:

- uses: jdx/mise-action@v4
  with:
    cache_key: "mise-v1-{{platform}}-{{install_args_hash}}-{{file_hash}}"
    install_args: "node@24 python@3.14"

You can also extend the default cache key:

- uses: jdx/mise-action@v4
  with:
    cache_key: "{{default}}-custom-suffix"
    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.

Rust Cache

Rust has a known cache interaction because mise installs Rust through rustup. See jdx/mise-action#215.

GitHub API Rate Limits

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.

- uses: jdx/mise-action@v4
  with:
    github_token: ${{ secrets.GITHUB_TOKEN }}
    # your other configuration

Note: The action automatically uses ${{ github.token }} as the default, so in most cases you don't need to explicitly provide it. However, if you encounter rate limit errors, make sure the token is being passed correctly.

Lock Files

If a repo mise lock file such as mise.lock is present in the working directory or one of its parents, this action automatically runs mise install --locked. You can still pass install_args; --locked will be added automatically unless you already included it yourself.

This auto-detection is intended for repo-managed config files. If you provide mise_toml or tool_versions inputs, the action does not automatically force locked mode.

Bootstrap

Set bootstrap: true to run mise bootstrap instead of mise install:

- uses: jdx/mise-action@v4
  with:
    bootstrap: true

When a repo mise lock file is present, the action automatically runs mise --locked bootstrap. install_args cannot be combined with bootstrap: true; use bootstrap_skip and bootstrap_args for bootstrap customization.

Alternative Installation

Alternatively, mise is easy to use in GitHub Actions even without this:

jobs:
  build:
    steps:
    - run: |
        curl https://mise.run | sh
        echo "$HOME/.local/share/mise/bin" >> $GITHUB_PATH
        echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH