docs: bump action versions in GitHub Actions examples#8065
Conversation
Also bumps action versions in the workflow generated by `mise generate github-action`.
Summary of ChangesHello @muzimuzhi, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on maintaining the currency and security of GitHub Actions examples and templates. It updates several key GitHub Actions to their latest major versions, ensuring that users leveraging these examples or generating new workflows benefit from the most recent features, bug fixes, and security enhancements provided by the action maintainers. This change primarily impacts documentation and the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request aims to update the versions of GitHub Actions used in documentation examples and generated workflows. However, the new versions specified for actions/checkout, jdx/mise-action, and actions/cache do not exist, which would cause CI workflows to fail for users. I've provided suggestions to use the correct latest major versions for these actions.
| - uses: actions/checkout@v6 | ||
| - uses: jdx/mise-action@v3 |
There was a problem hiding this comment.
The versions for actions/checkout and jdx/mise-action have been bumped to non-existent versions (v6 and v3 respectively). This will cause workflows to fail.
The latest major version for actions/checkout is v4, and for jdx/mise-action it is v2. The code should be updated to use these versions.
| - uses: actions/checkout@v6 | |
| - uses: jdx/mise-action@v3 | |
| - uses: actions/checkout@v4 | |
| - uses: jdx/mise-action@v2 |
|
|
||
| - name: Cache lockfile | ||
| uses: actions/cache@v3 | ||
| uses: actions/cache@v5 |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: jdx/mise-action@v2 | ||
| - uses: jdx/mise-action@v3 |
| - uses: actions/checkout@v6 | ||
| - uses: jdx/mise-action@v3 |
There was a problem hiding this comment.
The versions for actions/checkout and jdx/mise-action have been bumped to non-existent versions (v6 and v3 respectively). This will cause generated GitHub Action workflows to fail.
The latest major version for actions/checkout is v4, and for jdx/mise-action it is v2.
| - uses: actions/checkout@v6 | |
| - uses: jdx/mise-action@v3 | |
| - uses: actions/checkout@v4 | |
| - uses: jdx/mise-action@v2 |
There was a problem hiding this comment.
Pull request overview
Updates GitHub Actions snippets in the documentation and the mise generate github-action workflow template to use newer action versions.
Changes:
- Bump
jdx/mise-actionreferences fromv2tov3in docs and generator output. - Bump
actions/checkoutandactions/cacheversions in example workflows.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/cli/generate/github_action.rs | Updates the generated workflow template’s uses: action versions. |
| docs/tips-and-tricks.md | Updates the jdx/mise-action version in an example snippet. |
| docs/dev-tools/mise-lock.md | Updates the actions/cache version in the lockfile caching example. |
| docs/continuous-integration.md | Updates action versions in the GitHub Actions CI example. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
### 🚀 Features - **(node)** support package.json as idiomatic version file by @jdx in [#8059](#8059) - **(ruby)** graduate precompiled ruby from experimental (gradual rollout) by @jdx in [#8052](#8052) - add --dry-run-code flag to exit non-zero when there is work to do by @jdx in [#8063](#8063) ### 🐛 Bug Fixes - **(core)** respect MISE_ARCH override in bun and erlang plugins by @jdx in [#8062](#8062) - **(hooks)** resolve 12 community-reported hooks issues by @jdx in [#8058](#8058) - accept key=value format in set/add subcommands by @jdx in [#8053](#8053) ### 📚 Documentation - bump action versions in GitHub Actions examples by @muzimuzhi in [#8065](#8065) - add opengraph meta tags by @jdx in [#8066](#8066) ### 📦️ Dependency Updates - upgrade toml to 0.9 and toml_edit to 0.24 (TOML 1.1) by @jdx in [#8057](#8057) ### 📦 Registry - add quicktype (npm:quicktype) by @zdunecki in [#8054](#8054) - use inline table for test definitions by @jdx in [#8056](#8056)
Also bumps action versions in the workflow generated by `mise generate github-action`.
### 🚀 Features - **(node)** support package.json as idiomatic version file by @jdx in [jdx#8059](jdx#8059) - **(ruby)** graduate precompiled ruby from experimental (gradual rollout) by @jdx in [jdx#8052](jdx#8052) - add --dry-run-code flag to exit non-zero when there is work to do by @jdx in [jdx#8063](jdx#8063) ### 🐛 Bug Fixes - **(core)** respect MISE_ARCH override in bun and erlang plugins by @jdx in [jdx#8062](jdx#8062) - **(hooks)** resolve 12 community-reported hooks issues by @jdx in [jdx#8058](jdx#8058) - accept key=value format in set/add subcommands by @jdx in [jdx#8053](jdx#8053) ### 📚 Documentation - bump action versions in GitHub Actions examples by @muzimuzhi in [jdx#8065](jdx#8065) - add opengraph meta tags by @jdx in [jdx#8066](jdx#8066) ### 📦️ Dependency Updates - upgrade toml to 0.9 and toml_edit to 0.24 (TOML 1.1) by @jdx in [jdx#8057](jdx#8057) ### 📦 Registry - add quicktype (npm:quicktype) by @zdunecki in [jdx#8054](jdx#8054) - use inline table for test definitions by @jdx in [jdx#8056](jdx#8056)
Also bumps action versions in the workflow generated by
mise generate github-action.