Repository: nektos/act (language: go)

Issue:
Symbolic links in GitHub action repositories are retained (or converted to 0 byte files is `--use-new-action-cache`) when used by workflows
### Bug report info

```plain text
act version:            0.2.62
GOOS:                   darwin
GOARCH:                 arm64
NumCPU:                 10
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
	/var/run/docker.sock
Config files:           
	/Users/jsoref/.actrc:
		#-P ubuntu-latest=node:12.20.1-buster-slim
		#-P ubuntu-20.04=node:12.20.1-buster-slim
		#-P ubuntu-18.04=node:12.20.1-buster-slim
		-P ubuntu-latest=catthehacker/ubuntu:act-latest
		-P ubuntu-22.04=catthehacker/ubuntu:act-22.04
		-P ubuntu-20.04=catthehacker/ubuntu:act-20.04
		-P ubuntu-18.04=catthehacker/ubuntu:act-18.04
		-P ubuntu-16.04=catthehacker/ubuntu:act-16.04
		-P self-hosted=catthehacker/ubuntu:act-latest
		-P ubuntu-latest-4cpu=ubuntu:act-latest
		-P ubuntu-latest-8cpu=ubuntu:act-latest
		--use-new-action-cache
Build info:
	Go version:            go1.22.2
	Module path:           command-line-arguments
	Main version:          
	Main path:             
	Main checksum:         
	Build settings:
		-buildmode:           exe
		-compiler:            gc
		-ldflags:             -X main.version=0.2.62
		DefaultGODEBUG:       httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
		CGO_ENABLED:          1
		CGO_CFLAGS:           
		CGO_CPPFLAGS:         
		CGO_CXXFLAGS:         
		CGO_LDFLAGS:          
		GOARCH:               arm64
		GOOS:                 darwin
Docker Engine:
	Engine version:        24.0.7
	Engine runtime:        runc
	Cgroup version:        2
	Cgroup driver:         cgroupfs
	Storage driver:        overlay2
	Registry URI:          https://index.docker.io/v1/
	OS:                    Alpine Linux v3.19
	OS type:               linux
	OS version:            3.19.1
	OS arch:               aarch64
	OS kernel:             6.6.14-0-virt
	OS CPU:                2
	OS memory:             1908 MB
	Security options:
		name=seccomp,profile=builtin
		name=cgroupns
```


### Command used with act

```sh
act -v
```


### Describe issue

symbolic links in github action repositories are converted to 0 byte files when used by workflows.



### Link to GitHub repository

https://github.com/check-spelling-sandbox/sturdy-tribble-2

### Workflow content

```yml
name: Test
on:
  push:

jobs:
  test:
    permissions:
      contents: read
    runs-on: ubuntu-latest
    steps:
    - uses: check-spelling-sandbox/sturdy-tribble@main
```


### Relevant log output

```sh
jsoref@jsoref-mbp sturdy-tribble-2 % act -v
DEBU[0000] Handling container host and socket
DEBU[0000] Defaulting container socket to DOCKER_HOST
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock'
WARN  ⚠ You are using Apple M-series chip and you have not specified container architecture, you might encounter issues while running act. If so, try running it with '--container-architecture linux/amd64'. ⚠
DEBU[0000] Loading environment from /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/.env
DEBU[0000] Loading action inputs from /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/.input
DEBU[0000] Loading secrets from /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/.secrets
DEBU[0000] Loading vars from /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/.vars
DEBU[0000] Evaluated matrix inclusions: map[]
DEBU[0000] Loading workflows from '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/.github/workflows'
DEBU[0000] Loading workflows recursively
DEBU[0000] Found workflow 'test.yml' in '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/.github/workflows/test.yml'
DEBU[0000] Reading workflow '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/.github/workflows/test.yml'
DEBU[0000] Conditional GET for notices etag=96974b9b-d7f3-48d7-a1ef-4dc2d5deeb9d
DEBU[0000] Preparing plan with all jobs
DEBU[0000] Using the only detected workflow event: push
DEBU[0000] Planning jobs for event: push
DEBU[0000] gc: 2024-05-21 16:20:26.329052 -0400 EDT m=+0.003487334  module=artifactcache
DEBU[0000] Plan Stages: [0x140003141e0]
DEBU[0000] Stages Runs: [test]
DEBU[0000] Job.Name: test
DEBU[0000] Job.RawNeeds: {0 0    <nil> []    0 0}
DEBU[0000] Job.RawRunsOn: {8 0 !!str ubuntu-latest  <nil> []    9 14}
DEBU[0000] Job.Env: {0 0    <nil> []    0 0}
DEBU[0000] Job.If: {0 0  success()  <nil> []    0 0}
DEBU[0000] Job.Steps: check-spelling-sandbox/sturdy-tribble@main
DEBU[0000] Job.TimeoutMinutes:
DEBU[0000] Job.Services: map[]
DEBU[0000] Job.Strategy: <nil>
DEBU[0000] Job.RawContainer: {0 0    <nil> []    0 0}
DEBU[0000] Job.Defaults.Run.Shell:
DEBU[0000] Job.Defaults.Run.WorkingDirectory:
DEBU[0000] Job.Outputs: map[]
DEBU[0000] Job.Uses:
DEBU[0000] Job.With: map[]
DEBU[0000] Job.Result:
DEBU[0000] Empty Strategy, matrixes=[map[]]
DEBU[0000] Job Matrices: [map[]]
DEBU[0000] Runner Matrices: map[]
DEBU[0000] Final matrix after applying user inclusions '[map[]]'
DEBU[0000] Loading revision from git directory
DEBU[0000] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
DEBU[0000] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
DEBU[0000] using github ref: refs/heads/main
DEBU[0000] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
DEBU[0000] Detected CPUs: 10
[Test/test] [DEBUG] evaluating expression 'success()'
[Test/test] [DEBUG] expression 'success()' evaluated to 'true'
[Test/test] 🚀  Start image=catthehacker/ubuntu:act-latest
DEBU[0000] Parallel tasks (0) below minimum, setting to 1
[Test/test]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
[Test/test] [DEBUG]   🐳  docker pull catthehacker/ubuntu:act-latest
[Test/test] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' ()
DEBU[0000] Saving notices etag=96974b9b-d7f3-48d7-a1ef-4dc2d5deeb9d
DEBU[0000] No new notices
[Test/test] [DEBUG] Pulling from catthehacker/ubuntu :: act-latest
[Test/test] [DEBUG] Digest: sha256:896e25de5bbbce792c2e8db9dfc3ed7213002b6d3116e81a7438717075f78191 ::
[Test/test] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:act-latest ::
DEBU[0008] Parallel tasks (0) below minimum, setting to 1
[Test/test]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Test/test] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:act-latest Volumes:map[] WorkingDir:/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2 Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[Test/test] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-Test-test-1a89228c479b352e9beafd139ce1652ef6d39e9a57114fb000a3c158cff408d6-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-Test-test-1a89228c479b352e9beafd139ce1652ef6d39e9a57114fb000a3c158cff408d6 Target:/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2 ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[Test/test] [DEBUG] input.NetworkAliases ==> [test]
[Test/test] [DEBUG] Created container name=act-Test-test-1a89228c479b352e9beafd139ce1652ef6d39e9a57114fb000a3c158cff408d6 id=1abc81e9c1d66ef9ea29ab426ddfdaa8750c9aa7d3f6fea843e9db1d97e40afa from image catthehacker/ubuntu:act-latest (platform: )
[Test/test] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[Test/test]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Test/test] [DEBUG] Starting container: 1abc81e9c1d66ef9ea29ab426ddfdaa8750c9aa7d3f6fea843e9db1d97e40afa
[Test/test] [DEBUG] Started container: 1abc81e9c1d66ef9ea29ab426ddfdaa8750c9aa7d3f6fea843e9db1d97e40afa
[Test/test] [DEBUG] Writing entry to tarball workflow/event.json len:2
[Test/test] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Test/test] [DEBUG] Extracting content to '/var/run/act/'
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Read action &{Debug Actions jsoref Debug Action on disk format map[] map[] {composite map[]   always()  always()   [] [{ {0 0    <nil> []    0 0}  actions/checkout@v4    {0 0    <nil> []    0 0} map[]  } { {0 0    <nil> []    0 0} look  ls -hal $GITHUB_ACTION_PATH
ls -hal $GITHUB_ACTION_PATH/.github/workflows
  bash {0 0    <nil> []    0 0} map[]  }]} {pink edit-3}} from 'Unknown'
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.131:50523/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:main GITHUB_ACTION_REPOSITORY:check-spelling-sandbox/sturdy-tribble GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_REF:refs/heads/main GITHUB_REF_NAME:main GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:check-spelling-sandbox/sturdy-tribble-2 GITHUB_REPOSITORY_OWNER:check-spelling-sandbox GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8dcc4099101efc231b45c40c39f8236b55d86061 GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2 ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] evaluating expression 'always()'
[Test/test] [DEBUG] expression 'always()' evaluated to 'true'
[Test/test] ⭐ Run Pre check-spelling-sandbox/sturdy-tribble@main
[Test/test] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[Test/test] [DEBUG] Extracting content to '/var/run/act'
[Test/test] [DEBUG] run pre step for 'check-spelling-sandbox/sturdy-tribble@main'
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Skipping local actions/checkout because workdir was already copied
[Test/test] [DEBUG] skip pre step for 'actions/checkout@v4': no action model available
[Test/test]   ✅  Success - Pre check-spelling-sandbox/sturdy-tribble@main
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.131:50523/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:main GITHUB_ACTION_REPOSITORY:check-spelling-sandbox/sturdy-tribble GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_OUTPUT:/var/run/act/workflow/outputcmd.txt GITHUB_PATH:/var/run/act/workflow/pathcmd.txt GITHUB_REF:refs/heads/main GITHUB_REF_NAME:main GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:check-spelling-sandbox/sturdy-tribble-2 GITHUB_REPOSITORY_OWNER:check-spelling-sandbox GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8dcc4099101efc231b45c40c39f8236b55d86061 GITHUB_STATE:/var/run/act/workflow/statecmd.txt GITHUB_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2 ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] evaluating expression ''
[Test/test] [DEBUG] expression '' evaluated to 'true'
[Test/test] ⭐ Run Main check-spelling-sandbox/sturdy-tribble@main
[Test/test] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[Test/test] [DEBUG] Extracting content to '/var/run/act'
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] About to run action &{Debug Actions jsoref Debug Action on disk format map[] map[] {composite map[]   always()  always()   [] [{ {0 0    <nil> []    0 0}  actions/checkout@v4    {0 0    <nil> []    0 0} map[]  } { {0 0    <nil> []    0 0} look  ls -hal $GITHUB_ACTION_PATH
ls -hal $GITHUB_ACTION_PATH/.github/workflows
  bash {0 0    <nil> []    0 0} map[]  }]} {pink edit-3}}
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] type=remote-action actionDir=/Users/jsoref/.cache/act/check-spelling-sandbox-sturdy-tribble@main actionPath= workdir=/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2 actionCacheDir=/Users/jsoref/.cache/act actionName=check-spelling-sandbox-sturdy-tribble@main containerActionDir=/var/run/act/actions/check-spelling-sandbox-sturdy-tribble@main
[Test/test] [DEBUG] /var/run/act/actions/check-spelling-sandbox-sturdy-tribble@main
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Skipping local actions/checkout because workdir was already copied
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.131:50523/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH:/var/run/act/actions/check-spelling-sandbox-sturdy-tribble@main GITHUB_ACTION_REF:v4 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_OUTPUT:/var/run/act/workflow/outputcmd.txt GITHUB_PATH:/var/run/act/workflow/pathcmd.txt GITHUB_REF:refs/heads/main GITHUB_REF_NAME:main GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:check-spelling-sandbox/sturdy-tribble-2 GITHUB_REPOSITORY_OWNER:check-spelling-sandbox GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8dcc4099101efc231b45c40c39f8236b55d86061 GITHUB_STATE:/var/run/act/workflow/statecmd.txt GITHUB_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2 ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] evaluating expression ''
[Test/test] [DEBUG] expression '' evaluated to 'true'
[Test/test] ⭐ Run Main actions/checkout@v4
[Test/test] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[Test/test] [DEBUG] Extracting content to '/var/run/act'
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test]   🐳  docker cp src=/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/. dst=/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2
[Test/test] [DEBUG] Writing tarball /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act770686987 from /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/.
[Test/test] [DEBUG] Stripping prefix:/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/ src:/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2/.
[Test/test] [DEBUG] Extracting content from '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act770686987' to '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2'
[Test/test]   ✅  Success - Main actions/checkout@v4
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.131:50523/ CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH:/var/run/act/actions/check-spelling-sandbox-sturdy-tribble@main GITHUB_ACTION_REF:main GITHUB_ACTION_REPOSITORY:check-spelling-sandbox/sturdy-tribble GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_OUTPUT:/var/run/act/workflow/outputcmd.txt GITHUB_PATH:/var/run/act/workflow/pathcmd.txt GITHUB_REF:refs/heads/main GITHUB_REF_NAME:main GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:check-spelling-sandbox/sturdy-tribble-2 GITHUB_REPOSITORY_OWNER:check-spelling-sandbox GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8dcc4099101efc231b45c40c39f8236b55d86061 GITHUB_STATE:/var/run/act/workflow/statecmd.txt GITHUB_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2 ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] evaluating expression ''
[Test/test] [DEBUG] expression '' evaluated to 'true'
[Test/test] ⭐ Run Main look
[Test/test] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[Test/test] [DEBUG] Extracting content to '/var/run/act'
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Wrote command

ls -hal $GITHUB_ACTION_PATH
ls -hal $GITHUB_ACTION_PATH/.github/workflows


 to 'workflow/0-composite-1.sh'
[Test/test] [DEBUG] Writing entry to tarball workflow/0-composite-1.sh len:76
[Test/test] [DEBUG] Extracting content to '/var/run/act'
[Test/test]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0-composite-1.sh] user= workdir=
[Test/test] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0-composite-1.sh]'
[Test/test] [DEBUG] Working directory '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2'
| total 16K
| drwxrwxrwx 3 root root 4.0K May 21 20:20 .
| drwxr-xr-x 3 root root 4.0K May 21 20:20 ..
| drwxr-xr-x 3 root root 4.0K May 21 20:20 .github
| -rw-r--r-- 1 root root  331 Jan  1  1970 action.yml
| total 12K
| drwxr-xr-x 2 root root 4.0K May 21 20:20 .
| drwxr-xr-x 3 root root 4.0K May 21 20:20 ..
| -rwxrwxrwx 1 root root    0 Jan  1  1970 case
| -rw-r--r-- 1 root root  198 Jan  1  1970 test.yml
[Test/test]   ✅  Success - Main look
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test]   ✅  Success - Main check-spelling-sandbox/sturdy-tribble@main
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.131:50523/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:main GITHUB_ACTION_REPOSITORY:check-spelling-sandbox/sturdy-tribble GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_OUTPUT:/var/run/act/workflow/outputcmd.txt GITHUB_PATH:/var/run/act/workflow/pathcmd.txt GITHUB_REF:refs/heads/main GITHUB_REF_NAME:main GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:check-spelling-sandbox/sturdy-tribble-2 GITHUB_REPOSITORY_OWNER:check-spelling-sandbox GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8dcc4099101efc231b45c40c39f8236b55d86061 GITHUB_STATE:/var/run/act/workflow/statecmd.txt GITHUB_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2 ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] evaluating expression 'always()'
[Test/test] [DEBUG] expression 'always()' evaluated to 'true'
[Test/test] ⭐ Run Post check-spelling-sandbox/sturdy-tribble@main
[Test/test] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Test/test] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[Test/test] [DEBUG] Extracting content to '/var/run/act'
[Test/test] [DEBUG] run post step for 'check-spelling-sandbox/sturdy-tribble@main'
[Test/test] [DEBUG] /var/run/act/actions/check-spelling-sandbox-sturdy-tribble@main
[Test/test] [DEBUG] skipping post step for 'actions/checkout@v4': no action model available
[Test/test]   ✅  Success - Post check-spelling-sandbox/sturdy-tribble@main
[Test/test] Cleaning up container for job test
[Test/test] [DEBUG] Removed container: 1abc81e9c1d66ef9ea29ab426ddfdaa8750c9aa7d3f6fea843e9db1d97e40afa
[Test/test] [DEBUG]   🐳  docker volume rm act-Test-test-1a89228c479b352e9beafd139ce1652ef6d39e9a57114fb000a3c158cff408d6
[Test/test] [DEBUG]   🐳  docker volume rm act-Test-test-1a89228c479b352e9beafd139ce1652ef6d39e9a57114fb000a3c158cff408d6-env
[Test/test] 🏁  Job succeeded
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
jsoref@jsoref-mbp sturdy-tribble-2 %
```


### Additional information

https://github.com/check-spelling-sandbox/sturdy-tribble-2/actions/runs/9178827583/job/25246453375#step:2:83

```
total 16K
drwxr-xr-x 3 runner docker 4.0K May 21 20:17 .
drwxr-xr-x 3 runner docker 4.0K May 21 20:17 ..
drwxr-xr-x 3 runner docker 4.0K May 21 20:17 .github
-rw-r--r-- 1 runner docker  331 May 21 20:16 action.yml
total 16K
drwxr-xr-x 2 runner docker 4.0K May 21 20:17 .
drwxr-xr-x 3 runner docker 4.0K May 21 20:17 ..
-rw-r--r-- 1 runner docker  198 May 21 20:16 case
-rw-r--r-- 1 runner docker  198 May 21 20:16 test.yml
```

The key line is:
```
-rw-r--r-- 1 runner docker  198 May 21 20:16 case
```

---

Act output:

```
[Test/test] [DEBUG] Working directory '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/tmp.HEKkwjaNZO/sturdy-tribble-2'
| total 16K
| drwxrwxrwx 3 root root 4.0K May 21 20:20 .
| drwxr-xr-x 3 root root 4.0K May 21 20:20 ..
| drwxr-xr-x 3 root root 4.0K May 21 20:20 .github
| -rw-r--r-- 1 root root  331 Jan  1  1970 action.yml
| total 12K
| drwxr-xr-x 2 root root 4.0K May 21 20:20 .
| drwxr-xr-x 3 root root 4.0K May 21 20:20 ..
| -rwxrwxrwx 1 root root    0 Jan  1  1970 case
| -rw-r--r-- 1 root root  198 Jan  1  1970 test.yml
[Test/test]   ✅  Success - Main look
```

---

Fwiw, `--use-new-action-cache` doesn't appear to change this

---

Apparently, the expected results are a file that contains the contents of the resolved link (not a symbolic link).


Discussion / hints:
> Fwiw, `--use-new-action-cache` doesn't appear to change this

For me is that flag needed to trigger this.

FYI You have `--use-new-action-cache` in your `$HOME/.actrc` so removing it from the cli itself doesn't opt out
Act (master) in old action cache mode GitHub Codespace
```
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] Wrote command 

ls -hal $GITHUB_ACTION_PATH
ls -hal $GITHUB_ACTION_PATH/.github/workflows


 to 'workflow/0-composite-1.sh'
[Test/test] [DEBUG] Writing entry to tarball workflow/0-composite-1.sh len:76
[Test/test] [DEBUG] Extracting content to '/var/run/act'
[Test/test]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0-composite-1.sh] user= workdir=
[Test/test] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0-composite-1.sh]'
[Test/test] [DEBUG] Working directory '/workspaces/act/sturdy-tribble-2'
| total 20K
| drwxr-xr-x 4 root root 4.0K May 22 17:50 .
| drwxr-xr-x 3 root root 4.0K May 22 17:50 ..
| drwxr-xr-x 4 root root 4.0K May 22 17:50 .git
| drwxr-xr-x 3 root root 4.0K May 22 17:50 .github
| -rw-r--r-- 1 root root  331 May 22 17:47 action.yml
| total 12K
| drwxr-xr-x 2 root root 4.0K May 22 17:50 .
| drwxr-xr-x 3 root root 4.0K May 22 17:50 ..
| lrwxrwxrwx 1 root root    8 May 22 17:47 case -> test.yml
| -rw-r--r-- 1 root root  198 May 22 17:47 test.yml
[Test/test]   ✅  Success - Main look
[Test/test] [DEBUG] Loading revision from git directory
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231b45c40c39f8236b55d86061
[Test/test] [DEBUG] HEAD points to '8dcc4099101efc231b45c40c39f8236b55d86061'
[Test/test] [DEBUG] using github ref: refs/heads/main
[Test/test] [DEBUG] Found revision: 8dcc4099101efc231
```
Oh, oops. Well, GitHub changed (for security reasons) away from retaining symbolic links, so the old act behavior hasn't been a match to GitHub's behavior for a while either.

I could have had a script that depended on symlinks not being retained which would have broken with the standard act behavior. (Heck, I might...)

Fix patch:
diff --git a/pkg/filecollector/file_collector.go b/pkg/filecollector/file_collector.go
index 8547bb7c5fa..c039926bbe0 100644
--- a/pkg/filecollector/file_collector.go
+++ b/pkg/filecollector/file_collector.go
@@ -68,7 +68,7 @@ func (cc *CopyCollector) WriteFile(fpath string, fi fs.FileInfo, linkName string
 	if err := os.MkdirAll(filepath.Dir(fdestpath), 0o777); err != nil {
 		return err
 	}
-	if f == nil {
+	if linkName != "" {
 		return os.Symlink(linkName, fdestpath)
 	}
 	df, err := os.OpenFile(fdestpath, os.O_CREATE|os.O_WRONLY, fi.Mode())
diff --git a/pkg/runner/action_cache.go b/pkg/runner/action_cache.go
index 1099d78f99a..9af06db0335 100644
--- a/pkg/runner/action_cache.go
+++ b/pkg/runner/action_cache.go
@@ -6,10 +6,12 @@ import (
 	"crypto/rand"
 	"encoding/hex"
 	"errors"
+	"fmt"
 	"io"
 	"io/fs"
 	"path"
 	"strings"
+	"time"
 
 	git "github.com/go-git/go-git/v5"
 	config "github.com/go-git/go-git/v5/config"
@@ -78,6 +80,44 @@ func (c GoGitActionCache) Fetch(ctx context.Context, cacheDir, url, ref, token s
 	return hash.String(), nil
 }
 
+type GitFileInfo struct {
+	name    string
+	size    int64
+	modTime time.Time
+	isDir   bool
+	mode    fs.FileMode
+}
+
+// IsDir implements fs.FileInfo.
+func (g *GitFileInfo) IsDir() bool {
+	return g.isDir
+}
+
+// ModTime implements fs.FileInfo.
+func (g *GitFileInfo) ModTime() time.Time {
+	return g.modTime
+}
+
+// Mode implements fs.FileInfo.
+func (g *GitFileInfo) Mode() fs.FileMode {
+	return g.mode
+}
+
+// Name implements fs.FileInfo.
+func (g *GitFileInfo) Name() string {
+	return g.name
+}
+
+// Size implements fs.FileInfo.
+func (g *GitFileInfo) Size() int64 {
+	return g.size
+}
+
+// Sys implements fs.FileInfo.
+func (g *GitFileInfo) Sys() any {
+	return nil
+}
+
 func (c GoGitActionCache) GetTarArchive(ctx context.Context, cacheDir, sha, includePrefix string) (io.ReadCloser, error) {
 	gitPath := path.Join(c.Path, safeFilename(cacheDir)+".git")
 	gogitrepo, err := git.PlainOpen(gitPath)
@@ -88,6 +128,10 @@ func (c GoGitActionCache) GetTarArchive(ctx context.Context, cacheDir, sha, incl
 	if err != nil {
 		return nil, err
 	}
+	t, err := commit.Tree()
+	if err != nil {
+		return nil, err
+	}
 	files, err := commit.Files()
 	if err != nil {
 		return nil, err
@@ -108,45 +152,63 @@ func (c GoGitActionCache) GetTarArchive(ctx context.Context, cacheDir, sha, incl
 		tw := tar.NewWriter(wpipe)
 		cleanIncludePrefix := path.Clean(includePrefix)
 		wpipe.CloseWithError(files.ForEach(func(f *object.File) error {
-			if err := ctx.Err(); err != nil {
-				return err
-			}
-			name := f.Name
-			if strings.HasPrefix(name, cleanIncludePrefix+"/") {
-				name = name[len(cleanIncludePrefix)+1:]
-			} else if cleanIncludePrefix != "." && name != cleanIncludePrefix {
-				return nil
-			}
-			fmode, err := f.Mode.ToOSFileMode()
-			if err != nil {
-				return err
-			}
-			if fmode&fs.ModeSymlink == fs.ModeSymlink {
-				content, err := f.Contents()
-				if err != nil {
-					return err
-				}
-				return tw.WriteHeader(&tar.Header{
-					Name:     name,
-					Mode:     int64(fmode),
-					Linkname: content,
-				})
-			}
-			err = tw.WriteHeader(&tar.Header{
-				Name: name,
-				Mode: int64(fmode),
-				Size: f.Size,
-			})
-			if err != nil {
-				return err
-			}
-			reader, err := f.Reader()
-			if err != nil {
-				return err
-			}
-			_, err = io.Copy(tw, reader)
-			return err
+			return actionCacheCopyFileOrDir(ctx, cleanIncludePrefix, t, tw, f.Name, f)
 		}))
 	}()
 	return rpipe, err
 }
+
+func actionCacheCopyFileOrDir(ctx context.Context, cleanIncludePrefix string, t *object.Tree, tw *tar.Writer, origin string, f *object.File) error {
+	if err := ctx.Err(); err != nil {
+		return err
+	}
+	name := origin
+	if strings.HasPrefix(name, cleanIncludePrefix+"/") {
+		name = name[len(cleanIncludePrefix)+1:]
+	} else if cleanIncludePrefix != "." && name != cleanIncludePrefix {
+		return nil
+	}
+	fmode, err := f.Mode.ToOSFileMode()
+	if err != nil {
+		return err
+	}
+	if fmode&fs.ModeSymlink == fs.ModeSymlink {
+		content, err := f.Contents()
+		if err != nil {
+			return err
+		}
+
+		destPath := path.Join(path.Dir(f.Name), content)
+
+		subtree, err := t.Tree(destPath)
+		if err == nil {
+			return subtree.Files().ForEach(func(ft *object.File) error {
+				return actionCacheCopyFileOrDir(ctx, cleanIncludePrefix, t, tw, origin+strings.TrimPrefix(ft.Name, f.Name), f)
+			})
+		}
+
+		f, err := t.File(destPath)
+		if err != nil {
+			return fmt.Errorf("%s (%s): %w", destPath, origin, err)
+		}
+		return actionCacheCopyFileOrDir(ctx, cleanIncludePrefix, t, tw, origin, f)
+	}
+	header, err := tar.FileInfoHeader(&GitFileInfo{
+		name: name,
+		mode: fmode,
+		size: f.Size,
+	}, "")
+	if err != nil {
+		return err
+	}
+	err = tw.WriteHeader(header)
+	if err != nil {
+		return err
+	}
+	reader, err := f.Reader()
+	if err != nil {
+		return err
+	}
+	_, err = io.Copy(tw, reader)
+	return err
+}


Test patch: