Files
DmitriyLewen 81e514348e fix: remove literal ${{ runner.temp }} that breaks action loading (#38)
* fix: remove literal ${{ runner.temp }} from action.yaml

GitHub evaluates all ${{ }} expressions in action.yaml, including inside
input descriptions where the `runner` context is unavailable. The literal
${{ runner.temp }} in the `path` description made the action fail to load
with "Unrecognized named-value: 'runner'", breaking every consumer of
v0.3.0 regardless of whether `path` was set.

Fixes #37

* test: add CI workflow exercising the action

Run the action on ubuntu/windows/macos (defaults, cache, custom path) and
assert that an invalid `path` is rejected. Actually using the action via
`uses: ./` catches load-time errors like #37 that static linters miss.

* test: use Trivy v0.71.0 in CI workflow

v0.68.2 has no release assets, so the install step 404s. v0.71.0 (the version
from #37) downloads correctly.

* test: add positive control to reject-invalid-path job

The job asserted only that the install step failed, so it stayed green even
when the action failed to load entirely (the #37 regression). Add a control
step that installs with a valid path and must succeed, so the job can only
pass when the action loads and then rejects the invalid paths.
2026-06-03 18:03:56 +06:00
..