mizchi/Setup pkspec

Install the pkspec test runner (and its adapter shims) plus the Pkl CLI on the runner.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionpkspec release to install. Accepts the underlying release tag `pkspec@0.4.0`, the action-friendly form `v0.4.0`, a bare semver `0.4.0`, the floating major `v0`, or `latest`. When empty, the action reads its own ref (so pinning via `mizchi/pkspec@v0.4.0` or `@v0` just works) and falls back to the latest published release. no""
pkl-versionPkl CLI version to install. Set to `none` to skip Pkl install.no0.31.1
install-dirDirectory where binaries are placed. Added to GITHUB_PATH.no${{ runner.temp }}/pkspec-bin
init-schema-dirOptional directory where `pkspec init --dir` writes Pkl schemas.no""
init-forcePass `--force` when `init-schema-dir` is set.nofalse
cache-pklWhen `true`, cache `~/.pkl/cache` between runs via `actions/cache@v4`. Default `false` because local schemas avoid most remote Pkl package fetches. nofalse
pkl-cache-keyOverride the cache key used when `cache-pkl: true`. Default is `pkl-<hashFiles('**/PklProject.deps.json', '**/*.pkl')>`. no""
github-tokenGitHub token used for release lookup when version is `latest` or `v0`.no${{ github.token }}
namedescription
versionResolved pkspec release tag installed by the action.
install-dirDirectory added to PATH.