Fork of mise-action for forgejo
Some checks failed
build-test / test (ubuntu-latest) (push) Waiting to run
build-test / test (windows-latest) (push) Waiting to run
build-test / specific_version (push) Waiting to run
build-test / build (push) Waiting to run
Continuous Integration / TypeScript Tests (push) Has been cancelled
Check dist/ / Check dist/ (push) Has been cancelled
build-test / test (macos-latest) (push) Waiting to run
CodeQL / Analyze (push) Has been cancelled
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [globals](https://github.com/sindresorhus/globals) | devDependencies | major | [`^15.14.0` -> `^16.0.0`](https://renovatebot.com/diffs/npm/globals/15.14.0/16.0.0) | --- ### Release Notes <details> <summary>sindresorhus/globals (globals)</summary> ### [`v16.0.0`](https://github.com/sindresorhus/globals/releases/tag/v16.0.0) [Compare Source](https://github.com/sindresorhus/globals/compare/v15.15.0...v16.0.0) ##### Breaking - The `serviceworker` globals are now generated from browsers ([#​281](https://github.com/sindresorhus/globals/issues/281)) [`039ed51`](https://github.com/sindresorhus/globals/commit/039ed51) - It's a breaking change as a few globals have been removed. *** ### [`v15.15.0`](https://github.com/sindresorhus/globals/releases/tag/v15.15.0) [Compare Source](https://github.com/sindresorhus/globals/compare/v15.14.0...v15.15.0) - Regenerate vitest globals ([#​279](https://github.com/sindresorhus/globals/issues/279)) [`445df81`](https://github.com/sindresorhus/globals/commit/445df81) *** </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Friday" in timezone America/Chicago, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODIuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: #6 Co-authored-by: renovate[bot] <renovate@rgst.io> Co-committed-by: renovate[bot] <renovate@rgst.io> |
||
---|---|---|
.github | ||
.husky | ||
dist | ||
scripts | ||
src | ||
.eslintrc.yml | ||
.gitattributes | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
action.yml | ||
CHANGELOG.md | ||
cliff.toml | ||
CODEOWNERS | ||
eslint.config.mjs | ||
LICENSE | ||
mise.toml | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Example Workflow
name: test
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
version: 2024.10.0 # [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
experimental: true # [default: false] enable experimental features
log_level: debug # [default: info] log level
# automatically write this .tool-versions file
tool_versions: |
shellcheck 0.9.0
# or, if you prefer .mise.toml format:
mise_toml: |
[tools]
shellcheck = "0.9.0"
working_directory: app # [default: .] directory to run mise in
- run: shellcheck scripts/*.sh
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
# .tool-versions will be read from repo root
- run: node ./my_app.js
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