fix: fallback of localRepository cache being nil (#29)

Doing `act --local-repository test/self-ref@main=/folder-path/self-ref` caused a null pointer exception while fetching a non mapped entry, due to missing remote fallback.

Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/29
Co-authored-by: Christopher Homberger <christopher.homberger@web.de>
Co-committed-by: Christopher Homberger <christopher.homberger@web.de>
This commit is contained in:
Christopher Homberger
2026-02-06 11:11:34 +00:00
committed by ChristopherHX
parent 6c827eba95
commit 8505f73fe4
3 changed files with 28 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
name: remote-action-composite-action-ref
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: nektos/act-test-actions/composite-assert-action-ref-action@main
- uses: needs/override/js@main