diff --git a/mise.toml b/mise.toml index ac982c7f..6dd983f6 100644 --- a/mise.toml +++ b/mise.toml @@ -1,108 +1,57 @@ -# SPDX-License-Identifier: CC-BY-SA-4.0 -# -# Every entry below was checked against `mise registry` before being written. -# The previous version named 13 tools that do not exist in the registry, so -# mise emitted ~25 lines of warnings on EVERY shell entry in this repo while -# installing none of them. - [tools] -# --------------------------------------------------------------------------- -# Primary languages for this repo. -# -# erlang + elixir were MISSING entirely, despite Elixir being the language of -# lib/ and the 71 test files. Pinned to the same versions .github/workflows/ -# tests.yml gives erlef/setup-beam, so a local `mix test` runs on the same -# toolchain as CI rather than on whatever the developer happens to have. -# --------------------------------------------------------------------------- -erlang = "27.0" -elixir = "1.17" -rust = "latest" -zig = "latest" - -# --------------------------------------------------------------------------- -# Secondary runtimes retained from the previous file. -# --------------------------------------------------------------------------- +# Language runtimes node = "latest" python = "latest" +rust = "latest" go = "latest" +zig = "latest" java = "latest" bun = "latest" -deno = "latest" # was `denojs` — not a registry name +denojs = "latest" -# --------------------------------------------------------------------------- -# Package managers / task runner -# --------------------------------------------------------------------------- +# Package managers npm = "latest" yarn = "latest" pnpm = "latest" -just = "latest" # the actual task runner for this repo (see Justfile) +pip = "latest" +cargo = "latest" +go-task = "latest" -# --------------------------------------------------------------------------- -# Formatting & linting -# --------------------------------------------------------------------------- +# Formatting & Linting +gofmt = "latest" black = "latest" +isort = "latest" ruff = "latest" prettier = "latest" shfmt = "latest" stylua = "latest" -# --------------------------------------------------------------------------- # Build tools -# --------------------------------------------------------------------------- cmake = "latest" make = "latest" ninja = "latest" -# --------------------------------------------------------------------------- -# REMOVED — none of these resolve in the mise registry, so they installed -# nothing and only produced warnings. Grouped by why they were wrong: -# -# Already provided by a tool that IS listed above: -# cargo -> ships with `rust` -# gofmt -> ships with `go` -# pip -> ships with `python` -# -# Project-level dependencies, not system tools. These belong in -# package.json / pyproject.toml / mix.exs, not in a toolchain manager: -# vitest, jest, pytest, isort -# -# Task runner that never installed: -# go-task -> not a registry name. NB the bare name `task` does not work -# either: `mise registry` LISTS it as `aqua:go-task/task`, but resolving -# `task@latest` still fails. Appearing in `mise registry` output is not -# sufficient to conclude a name resolves — check with `mise ls-remote`. -# Dropped entirely; this repo drives everything through the Justfile, so -# `just` is listed above instead. -# -# Base system binaries that mise should not be shadowing on Linux: -# git, gnu-sed, gnu-grep, gnu-tar -# -# If a GNU-vs-BSD coreutils difference ever actually bites on macOS, add -# `coreutils` (which does exist in the registry) rather than these names. -# --------------------------------------------------------------------------- +# Shell tools +git = "latest" +gnu-sed = "latest" +gnu-tar = "latest" +gnu-grep = "latest" + +# Testing +vitest = "latest" +pytest = "latest" +jest = "latest" [env] +# Common environment variables NODE_ENV = "development" PYTHONDONTWRITEBYTECODE = "1" PYTHONUNBUFFERED = "1" -# --------------------------------------------------------------------------- -# REMOVED — an `[alias]` section holding what were clearly meant to be tasks: -# -# [alias] -# task = "go-task" -# build = "cargo build --release || npm run build || go build" -# test = "cargo test || npm test || go test ./..." -# lint = "ruff check . || prettier --check . || black --check ." -# fmt = "ruff format . || prettier --write . || black ." -# -# mise's `[alias]` maps an alias to a TOOL PLUGIN — it does not define tasks, -# so none of these ever ran. mise also warns that `[alias]` is deprecated in -# favour of `[tool_alias]`. -# -# They are not re-added as `[tasks]`, because the Justfile already defines -# `build`, `test`, `fmt`, `fmt-check`, `lint`, `doctor` and `heal` properly and -# for the languages this repo actually uses. Two competing task runners with -# the same verb names — one of which silently falls through `||` chains to a -# different language's build — is worse than one. Use `just `. -# --------------------------------------------------------------------------- +# Task runner alias +[alias] +task = "go-task" +build = "cargo build --release || npm run build || go build" +test = "cargo test || npm test || go test ./..." +lint = "ruff check . || prettier --check . || black --check ." +fmt = "ruff format . || prettier --write . || black ." diff --git a/scripts/ci-health/action-superset.txt b/scripts/ci-health/action-superset.txt index 8fa6b900..d87ec0a1 100644 --- a/scripts/ci-health/action-superset.txt +++ b/scripts/ci-health/action-superset.txt @@ -76,3 +76,44 @@ Swatinem/rust-cache taiki-e/install-action trufflesecurity/trufflehog webfactory/ssh-agent +JuliaRegistries/TagBot +KyleMayes/install-llvm-action +PyO3/maturin-action +SonarSource/sonarqube-scan-action +anchore/sbom-action +android-actions/setup-android +codespell-project/actions-codespell +dawidd6/action-send-mail +google/clusterfuzzlite/actions/build_fuzzers +google/clusterfuzzlite/actions/run_fuzzers +hyperpolymath/a2ml-ecosystem/validate-action +hyperpolymath/a2ml-validate-action +hyperpolymath/k9-ecosystem/validate-action +hyperpolymath/k9-validate-action +hyperpolymath/panic-attack/.github/workflows/scan-and-report.yml +hyperpolymath/panic-attacker/.github/workflows/scan-and-report.yml +hyperpolymath/rsr-toolchain-action +hyperpolymath/standards/.github/workflows/changelog-reusable.yml +hyperpolymath/standards/.github/workflows/codeql-reusable.yml +hyperpolymath/standards/.github/workflows/deno-ci-reusable.yml +hyperpolymath/standards/.github/workflows/elixir-ci-reusable.yml +hyperpolymath/standards/.github/workflows/governance-reusable.yml +hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml +hyperpolymath/standards/.github/workflows/mirror-reusable.yml +hyperpolymath/standards/.github/workflows/readme-derive-reusable.yml +hyperpolymath/standards/.github/workflows/rsr-antipattern-reusable.yml +hyperpolymath/standards/.github/workflows/rust-ci-reusable.yml +hyperpolymath/standards/.github/workflows/scorecard-reusable.yml +hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml +hyperpolymath/standards/.github/workflows/spark-theatre-gate.yml +jlumbroso/free-disk-space +leanprover/lean-action +mozilla-actions/sccache-action +oven-sh/setup-bun +peter-evans/dockerhub-description +r-lib/actions/setup-r +reactivecircus/android-emulator-runner +slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml +snyk/actions/node +superfly/flyctl-actions/setup-flyctl +swatinem/rust-cache