Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/run-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
type: boolean
description: "Expose the job's read-only GitHub token to the script as GH_TOKEN"
default: false
mise-env:
type: string
description: "Value for MISE_ENV, selecting additional mise.<env>.toml config files"
default: ""
secrets:
STEP_SECURITY_API_KEY:
required: false
Expand All @@ -29,6 +33,8 @@ jobs:
contents: read
env:
HARDEN_RUNNER: ${{ secrets.STEP_SECURITY_API_KEY != '' }} # zizmor: ignore[secrets-outside-env]
MISE_ENV: ${{ inputs.mise-env }}
Comment thread
johnsca marked this conversation as resolved.
Resolved
MISE_LOCKED: "1"
steps:
- name: Harden Runner
if: env.HARDEN_RUNNER == 'true'
Expand Down
3 changes: 0 additions & 3 deletions .tool-versions

This file was deleted.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ commits never get one, so a SHA is what names the commit you meant.

Run a set of commands on the repository, with the required tools installed via `mise`.

Tools are read from `mise.toml`, and the `mise.lock` lockfile is required to be
present and contain all the tools to install. `.tool-versions` is not supported
due to lack of hash pinning.

Set `mise-env` to select a [mise
environment](https://mise.jdx.dev/configuration/environments.html) via
`MISE_ENV`, so that `mise.<env>.toml` files (such as one with CI-only tools)
are loaded on top of the default config.


```
Lint:
Expand Down
69 changes: 69 additions & 0 deletions mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[tools]
just = "1.58.0"
prek = "0.5.5"
uv = "0.13.4"

[settings]
lockfile = true
lockfile_platforms = ["linux-x64", "linux-arm64", "macos-x64", "macos-arm64"]
Loading