balconyjh/NoneBot Plugin Load Check

Install a NoneBot plugin in an isolated uv environment and verify that nonebot.load_plugin() succeeds.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: balconyjh/noneload@7af465a7f2d2fa2f7c227dc1fd9c065eed674109 # v1.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
module-namePlugin module import path, for example nonebot_plugin_foo. If omitted, the action tries to detect it.no""
project-linkDistribution project name, for example nonebot-plugin-foo. If omitted, the action reads [project].name from pyproject.toml.no""
packageLocal package spec passed to uv pip install when install-command is not set. Use . for the current project.no.
working-directoryRepository subdirectory containing the plugin project.no.
python-versionPython version installed and used by uv.no3.12
uv-versionuv version installed by astral-sh/setup-uv. Empty means setup-uv resolves the version from uv.toml/pyproject.toml or installs the latest uv.no""
uv-cacheEnable astral-sh/setup-uv cache. Use true, false, or auto.notrue
editableInstall local package specs in editable mode when install-command is not set.notrue
install-extra-argsExtra arguments appended to uv pip install, for example --extra-index-url URL.no""
install-commandCustom install command. It runs with the uv-created venv at the front of PATH. Overrides package/editable/install-extra-args.no""
plugin-configInline .env.prod content used while loading the plugin.no""
plugin-config-filePath to a file whose content is appended to .env.prod, relative to working-directory unless absolute.no""
registry-urlURL of NoneBot registry plugins.json, used to map plugin package dependencies to module names.nohttps://raw.githubusercontent.com/nonebot/registry/results/plugins.json
load-dependenciesRequire installed dependent NoneBot plugins detected from registry before finishing the check.notrue
check-optional-dependenciesInstall every optional dependency group declared in pyproject.toml and include its installed NoneBot plugin dependencies in the load check. Requires the default uv pip install flow.nofalse
timeoutTimeout in seconds for Python installation, package installation, and plugin loading commands.no600
fail-on-errorFail this action when plugin loading fails.notrue
summaryWrite a GitHub Step Summary.notrue
namedescription
loadWhether the plugin loaded successfully.
runWhether the isolated test runner was executed after installation.
versionInstalled plugin distribution version, if detected.
metadataPlugin metadata as compact JSON, if detected.
result-fileAbsolute path to the JSON result file.
test-envResolved test environment, for example python==3.12.8 nonebot2==2.4.0 pydantic==2.10.0.