Repository: nektos/act (language: go)

Issue:
Issue: cp: cannot stat 'js/config.dist.ts': No such file or directory
## System information

    - Operating System: Arch Linux
    - Architecture:x64 (64-bit)
    - Apple M1: no
    - Docker version: 20.10.12
    - `act` version: 0.2.25

## Expected behaviour

The workflow, which works on GitHub actions, should work locally with act.

## Actual behaviour
It throws an error  `cp: cannot stat 'js/config.dist.ts': No such file or directory`.
However that file exists at `repo/js/config.dist.ts`.

## Workflow and/or repository

<https://raw.githubusercontent.com/snikproject/snik-graph/da80e8c2ab07a5bf68fb0575706ef4ad5d23a27a/.github/workflows/build.yml>

<details>
  <summary>workflow</summary>

```yml
name: build

on:
  workflow_dispatch:
  push:
    branches:
      - master

jobs:
  build: 
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - uses: actions/setup-node@v2

      - name: Cache node modules
        uses: actions/cache@v2
        with:
          path: ~/node_modules
          key: cache-${{ hashFiles('**/package-lock.json') }}

      - name: Install
        run: |
          cp js/config.dist.ts js/config.ts
          npm install --ignore-scripts --production --no-audit

      - name: Test
        run: |
          npm run test

      - name: Build
        run: |
          npm run build
          sed -i "s|/assets|./assets|" dist/index.html
          cp -r html dist
          cp -r img dist

      - name: Doc
        run: |
          npm run doc
          cp -r doc dist 

      - name: Deploy to GitHub Pages
        uses: JamesIves/github-pages-deploy-action@4.1.5
        with:
          branch: gh-pages
          folder: dist
```

</details>

## Steps to reproduce

      1. `git clone git@github.com:snikproject/snik-graph.git`
      2. Enter cloned repo directory
      3. git checkout 6029745341016d37a87a68c82e2bd48262364ad6
      4. Run `act .github/workflows/build.yml -j build`

## The act log is in the comment because of a GitHub content length error
fix: copy git tracked files (#912)
So, this is almost certainly not the right fix for #912, but for git oriented projects it does something which would probably be good enough for me anyway. -- Note: I'm not a go dev, so the style here is probably very wrong, it's just an attempt at playing with things. I'm sure I could find the proper go-git function to ask "are you tracked", but I decided to start with the simpler "go ls-files" approach.

# Before

```
% act
[What do I have/Introspection] 🚀  Start image=catthehacker/ubuntu:act-latest
[What do I have/Introspection]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[What do I have/Introspection]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[What do I have/Introspection]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[What do I have/Introspection]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[What do I have/Introspection]   🐳  docker cp src=/Users/jsoref/code/nektos/ignored/. dst=/Users/jsoref/code/nektos/ignored
[What do I have/Introspection]   🐳  docker exec cmd=[mkdir -p /Users/jsoref/code/nektos/ignored] user= workdir=
[What do I have/Introspection] ⭐  Run checkout
[What do I have/Introspection]   ✅  Success - checkout
[What do I have/Introspection] ⭐  Run introspect
[What do I have/Introspection]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/ignored/workflow/1] user= workdir=
| total 4
| drwxr-xr-x 2 root root 4096 Jan  2 06:15 workflow
[What do I have/Introspection]   ✅  Success - introspect
```

# After
```
% ../act/dist/local/act
[What do I have/Introspection] 🚀  Start image=catthehacker/ubuntu:act-latest
[What do I have/Introspection]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[What do I have/Introspection]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[What do I have/Introspection]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[What do I have/Introspection]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[What do I have/Introspection]   🐳  docker cp src=/Users/jsoref/code/nektos/ignored/. dst=/Users/jsoref/code/nektos/ignored
[What do I have/Introspection]   🐳  docker exec cmd=[mkdir -p /Users/jsoref/code/nektos/ignored] user= workdir=
[What do I have/Introspection] ⭐  Run checkout
[What do I have/Introspection]   ✅  Success - checkout
[What do I have/Introspection] ⭐  Run introspect
[What do I have/Introspection]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1] user= workdir=
| total 0
| -rw-r--r-- 1 502 dialout 0 Jan  2 05:49 README.md
[What do I have/Introspection]   ✅  Success - introspect
```


Discussion / hints:
## `act` output

<details>
  <summary>Log</summary>

```none
$ act .github/workflows/build.yml -j build -v
DEBU[0000] Loading environment from /tmp/snik-graph/.env 
DEBU[0000] Loading secrets from /tmp/snik-graph/.secrets 
DEBU[0000] Loading workflows from '/tmp/snik-graph/.github/workflows' 
DEBU[0000] Loading workflows recursively                
DEBU[0000] Found workflow 'build.yml' in '/tmp/snik-graph/.github/workflows/build.yml' 
DEBU[0000] Reading workflow '/tmp/snik-graph/.github/workflows/build.yml' 
DEBU[0000] Correcting if statements '/tmp/snik-graph/.github/workflows/build.yml' 
DEBU[0000] Planning job: build                          
DEBU[0000] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] context env => map[ACT:true]                 
DEBU[0000] context needs => map[]                       
[build/build] 🚀  Start image=catthehacker/ubuntu:act-latest
DEBU[0000] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0000] using github ref: refs/heads/master          
[build/build]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[build/build]   🐳  docker pull catthehacker/ubuntu:act-latest
DEBU[0000] Image exists? true                           
[build/build] Removed container: 018fe2342d50abe27b67959457d67f32fb08caefc0fc52ac6d19b4428acb3b2b
[build/build]   🐳  docker volume rm act-build-build
[build/build]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[build/build] Created container name=act-build-build id=f5f6a730ecd074954fc3ba163a7c9bd6f232e83a39be9b01a7d4a00b3ba312af from image catthehacker/ubuntu:act-latest (platform: )
[build/build] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[build/build]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[build/build] Starting container: f5f6a730ecd074954fc3ba163a7c9bd6f232e83a39be9b01a7d4a00b3ba312af
[build/build] Started container: f5f6a730ecd074954fc3ba163a7c9bd6f232e83a39be9b01a7d4a00b3ba312af
[build/build]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[build/build] Exec command '[mkdir -m 0777 -p /var/run/act]'
[build/build] Working directory '/tmp/snik-graph'
[build/build]   🐳  docker cp src=/tmp/snik-graph/. dst=/tmp/snik-graph
[build/build]   🐳  docker exec cmd=[mkdir -p /tmp/snik-graph] user= workdir=
[build/build] Exec command '[mkdir -p /tmp/snik-graph]'
[build/build] Working directory '/tmp/snik-graph'
DEBU[0000] Writing tarball /tmp/act1957026044 from /tmp/snik-graph/. 
DEBU[0000] Stripping prefix:/tmp/snik-graph/ src:/tmp/snik-graph/. 
[build/build] Extracting content from '/tmp/act1957026044' to '/tmp/snik-graph'
DEBU[0000] Writing entry to tarball workflow/event.json len:2 
DEBU[0000] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0000] Writing entry to tarball workflow/paths.txt len:0 
[build/build] Extracting content to '/var/run/act/'
DEBU[0000] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0000] context needs => map[]                       
DEBU[0000] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
[build/build] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[build/build] ⭐  Run Checkout code
DEBU[0000] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0000] using github ref: refs/heads/master          
[build/build] Skipping local actions/checkout because workdir was already copied
[build/build]   ✅  Success - Checkout code
DEBU[0000] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0000] context needs => map[]                       
DEBU[0000] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
[build/build] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[build/build] ⭐  Run actions/setup-node@v2
DEBU[0000] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0000] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0000] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0000] using github ref: refs/heads/master          
INFO[0000]   ☁  git clone 'https://github.com/actions/setup-node' # ref=v2 
DEBU[0000]   cloning https://github.com/actions/setup-node to /home/konrad/.cache/act/actions-setup-node@v2 
DEBU[0001] Unable to pull refs/heads/v2: worktree contains unstaged changes 
DEBU[0001] Cloned https://github.com/actions/setup-node to /home/konrad/.cache/act/actions-setup-node@v2 
DEBU[0001] Checked out v2                               
DEBU[0001] Read action &{Setup Node.js environment GitHub Setup a Node.js environment by adding problem matchers and optionally downloading and adding it to the PATH map[always-auth:{Set always-auth in npmrc false false} architecture:{Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default. false } cache:{Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm false } cache-dependency-path:{Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies. false } check-latest:{Set this option if you want the action to check for the latest available version that satisfies the version spec false false} node-version:{Version Spec of the version to use.  Examples: 12.x, 10.15.1, >=10.15.0 false } node-version-file:{File containing the version Spec of the version to use.  Examples: .nvmrc, .node-version false } registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } token:{Used to pull node distributions from node-versions.  Since there's a default, this is typically not supplied by the user. false ${{ github.token }}} version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[cache-hit:{A boolean value to indicate if a cache was hit }] {node12 map[] dist/setup/index.js   [] []} { }} from 'Unknown' 
DEBU[0001] About to run action &{Setup Node.js environment GitHub Setup a Node.js environment by adding problem matchers and optionally downloading and adding it to the PATH map[always-auth:{Set always-auth in npmrc false false} architecture:{Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default. false } cache:{Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm false } cache-dependency-path:{Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies. false } check-latest:{Set this option if you want the action to check for the latest available version that satisfies the version spec false false} node-version:{Version Spec of the version to use.  Examples: 12.x, 10.15.1, >=10.15.0 false } node-version-file:{File containing the version Spec of the version to use.  Examples: .nvmrc, .node-version false } registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } token:{Used to pull node distributions from node-versions.  Since there's a default, this is typically not supplied by the user. false ${{ github.token }}} version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[cache-hit:{A boolean value to indicate if a cache was hit }] {node12 map[] dist/setup/index.js   [] []} { }} 
DEBU[0001] Evaluating 'github['token']' instead of 'github.token' 
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Evaluating 'github['token']' instead of 'github.token' 
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 INPUT_ALWAYS-AUTH:false INPUT_ARCHITECTURE: INPUT_CACHE: INPUT_CACHE-DEPENDENCY-PATH: INPUT_CHECK-LATEST:false INPUT_NODE-VERSION: INPUT_NODE-VERSION-FILE: INPUT_REGISTRY-URL: INPUT_SCOPE: INPUT_TOKEN: INPUT_VERSION: ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] type=3 actionDir=/home/konrad/.cache/act/actions-setup-node@v2 actionPath= workdir=/tmp/snik-graph actionCacheDir=/home/konrad/.cache/act actionName=actions-setup-node@v2 containerActionDir=/var/run/act/actions/actions-setup-node@v2 
DEBU[0001] Removing /home/konrad/.cache/act/actions-setup-node@v2/.gitignore before docker cp 
DEBU[0001] /var/run/act/actions/actions-setup-node@v2   
[build/build]   🐳  docker cp src=/home/konrad/.cache/act/actions-setup-node@v2/ dst=/var/run/act/actions/actions-setup-node@v2/
[build/build]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v2/] user= workdir=
[build/build] Exec command '[mkdir -p /var/run/act/actions/actions-setup-node@v2/]'
[build/build] Working directory '/tmp/snik-graph'
DEBU[0001] Writing tarball /tmp/act3552600454 from /home/konrad/.cache/act/actions-setup-node@v2/ 
DEBU[0001] Stripping prefix:/home/konrad/.cache/act/actions-setup-node@v2/ src:/home/konrad/.cache/act/actions-setup-node@v2/ 
[build/build] Extracting content from '/tmp/act3552600454' to '/var/run/act/actions/actions-setup-node@v2/'
DEBU[0001] executing remote job container: [node /var/run/act/actions/actions-setup-node@v2/dist/setup/index.js] 
[build/build]   🐳  docker exec cmd=[node /var/run/act/actions/actions-setup-node@v2/dist/setup/index.js] user= workdir=
[build/build] Exec command '[node /var/run/act/actions/actions-setup-node@v2/dist/setup/index.js]'
[build/build] Working directory '/tmp/snik-graph'
[build/build]   ❓  ##[add-matcher]/run/act/actions/actions-setup-node@v2/.github/tsc.json
[build/build]   ❓  ##[add-matcher]/run/act/actions/actions-setup-node@v2/.github/eslint-stylish.json
[build/build]   ❓  ##[add-matcher]/run/act/actions/actions-setup-node@v2/.github/eslint-compact.json
[build/build]   ✅  Success - actions/setup-node@v2
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0001] context needs => map[]                       
DEBU[0001] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 INPUT_KEY:cache-${{ hashFiles('**/package-lock.json') }} INPUT_PATH:~/node_modules ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
[build/build] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 INPUT_KEY:cache-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 INPUT_PATH:~/node_modules ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[build/build] ⭐  Run Cache node modules
DEBU[0001] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0001] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0001] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0001] using github ref: refs/heads/master          
INFO[0001]   ☁  git clone 'https://github.com/actions/cache' # ref=v2 
DEBU[0001]   cloning https://github.com/actions/cache to /home/konrad/.cache/act/actions-cache@v2 
DEBU[0002] Unable to pull refs/heads/v2: worktree contains unstaged changes 
DEBU[0002] Cloned https://github.com/actions/cache to /home/konrad/.cache/act/actions-cache@v2 
DEBU[0002] Checked out v2                               
DEBU[0002] Read action &{Cache GitHub Cache artifacts like dependencies and build outputs to improve workflow execution time map[key:{An explicit key for restoring and saving the cache true } path:{A list of files, directories, and wildcard patterns to cache and restore true } restore-keys:{An ordered list of keys to use for restoring the cache if no cache hit occurred for key false } upload-chunk-size:{The chunk size used to split up large files during upload, in bytes false }] map[cache-hit:{A boolean value to indicate an exact match was found for the primary key }] {node12 map[] dist/restore/index.js   [] []} {gray-dark archive}} from 'Unknown' 
DEBU[0002] About to run action &{Cache GitHub Cache artifacts like dependencies and build outputs to improve workflow execution time map[key:{An explicit key for restoring and saving the cache true } path:{A list of files, directories, and wildcard patterns to cache and restore true } restore-keys:{An ordered list of keys to use for restoring the cache if no cache hit occurred for key false } upload-chunk-size:{The chunk size used to split up large files during upload, in bytes false }] map[cache-hit:{A boolean value to indicate an exact match was found for the primary key }] {node12 map[] dist/restore/index.js   [] []} {gray-dark archive}} 
DEBU[0002] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0002] using github ref: refs/heads/master          
DEBU[0002] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0002] context needs => map[]                       
DEBU[0002] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0002] using github ref: refs/heads/master          
DEBU[0002] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0002] context needs => map[]                       
DEBU[0002] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0002] using github ref: refs/heads/master          
DEBU[0002] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0002] context needs => map[]                       
DEBU[0002] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0002] using github ref: refs/heads/master          
DEBU[0002] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0002] context needs => map[]                       
DEBU[0002] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0002] using github ref: refs/heads/master          
DEBU[0002] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0002] context needs => map[]                       
DEBU[0002] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0002] using github ref: refs/heads/master          
DEBU[0002] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0002] context needs => map[]                       
DEBU[0002] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0002] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0002] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0002] using github ref: refs/heads/master          
DEBU[0002] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0002] context needs => map[]                       
DEBU[0002] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 INPUT_KEY:cache-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 INPUT_PATH:~/node_modules INPUT_RESTORE-KEYS: INPUT_UPLOAD-CHUNK-SIZE: ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0002] type=3 actionDir=/home/konrad/.cache/act/actions-cache@v2 actionPath= workdir=/tmp/snik-graph actionCacheDir=/home/konrad/.cache/act actionName=actions-cache@v2 containerActionDir=/var/run/act/actions/actions-cache@v2 
DEBU[0002] Removing /home/konrad/.cache/act/actions-cache@v2/.gitignore before docker cp 
DEBU[0002] /var/run/act/actions/actions-cache@v2        
[build/build]   🐳  docker cp src=/home/konrad/.cache/act/actions-cache@v2/ dst=/var/run/act/actions/actions-cache@v2/
[build/build]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/actions-cache@v2/] user= workdir=
[build/build] Exec command '[mkdir -p /var/run/act/actions/actions-cache@v2/]'
[build/build] Working directory '/tmp/snik-graph'
DEBU[0002] Writing tarball /tmp/act2573469497 from /home/konrad/.cache/act/actions-cache@v2/ 
DEBU[0002] Stripping prefix:/home/konrad/.cache/act/actions-cache@v2/ src:/home/konrad/.cache/act/actions-cache@v2/ 
[build/build] Extracting content from '/tmp/act2573469497' to '/var/run/act/actions/actions-cache@v2/'
DEBU[0002] executing remote job container: [node /var/run/act/actions/actions-cache@v2/dist/restore/index.js] 
[build/build]   🐳  docker exec cmd=[node /var/run/act/actions/actions-cache@v2/dist/restore/index.js] user= workdir=
[build/build] Exec command '[node /var/run/act/actions/actions-cache@v2/dist/restore/index.js]'
[build/build] Working directory '/tmp/snik-graph'
[build/build]   ❓  ::save-state name=CACHE_KEY::cache-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
[build/build]   💬  ::debug::Resolved Keys:
[build/build]   💬  ::debug::["cache-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"]
[build/build]   💬  ::debug::Checking zstd --version
[build/build]   💬  ::debug::*** zstd command line interface 64-bits v1.4.4, by Yann Collet ***
[build/build]   💬  ::debug::getCacheEntry - Attempt 1 of 2 failed with error: Cache Service Url not found, unable to restore cache.
[build/build]   💬  ::debug::getCacheEntry - Attempt 2 of 2 failed with error: Cache Service Url not found, unable to restore cache.
| [warning]getCacheEntry failed: Cache Service Url not found, unable to restore cache.
| 
[build/build]   ⚙  ::set-output:: cache-hit=false
[build/build]   ✅  Success - Cache node modules
DEBU[0013] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0013] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0013] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0013] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0013] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0013] using github ref: refs/heads/master          
DEBU[0013] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0013] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0013] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0013] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0013] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0013] using github ref: refs/heads/master          
DEBU[0013] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0013] context needs => map[]                       
DEBU[0013] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
[build/build] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[build/build] ⭐  Run Install
DEBU[0013] Wrote command '
cp js/config.dist.ts js/config.ts
npm install --ignore-scripts --production --no-audit

' to 'workflow/3' 
DEBU[0013] Writing entry to tarball workflow/3 len:87   
[build/build] Extracting content to '/tmp/snik-graph'
[build/build]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /tmp/snik-graph/workflow/3] user= workdir=
[build/build] Exec command '[bash --noprofile --norc -e -o pipefail /tmp/snik-graph/workflow/3]'
[build/build] Working directory '/tmp/snik-graph'
| cp: cannot stat 'js/config.dist.ts': No such file or directory
[build/build]   ❌  Failure - Install
DEBU[0013] exit with `FAILURE`: 1                       
DEBU[0013] exit with `FAILURE`: 1                       
DEBU[0013] exit with `FAILURE`: 1                       
DEBU[0013] exit with `FAILURE`: 1                       
DEBU[0013] exit with `FAILURE`: 1                       
DEBU[0013] Loading slug from git directory '/tmp/snik-graph/.git' 
DEBU[0013] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0013] Loading revision from git directory '/tmp/snik-graph/.git' 
DEBU[0013] Found revision: 6029745341016d37a87a68c82e2bd48262364ad6 
DEBU[0013] HEAD points to '6029745341016d37a87a68c82e2bd48262364ad6' 
DEBU[0013] using github ref: refs/heads/master          
DEBU[0013] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: 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:.github/workflows/build.yml GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:snikproject/snik-graph GITHUB_REPOSITORY_OWNER:snikproject GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:6029745341016d37a87a68c82e2bd48262364ad6 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/tmp/snik-graph IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.3/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0013] context needs => map[]                       
Error: exit with `FAILURE`: 1
```

</details>

it is caused by the `.*` in your gitignore. 

~seems to be a bug with one of our dependencies that parses gitignore files~

its a bug happening with the manual path handling we do: https://github.com/nektos/act/blob/ff13844b8643abaff9daa47a5bc96aa91fddcf5e/pkg/container/docker_run.go#L594-L595

split becomes `.` in the beginning
@jsoref this pull request has failed checks 🛠
# [Codecov](https://codecov.io/gh/nektos/act/pull/949?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos) Report
> Merging [#949](https://codecov.io/gh/nektos/act/pull/949?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos) (c8ccf20) into [master](https://codecov.io/gh/nektos/act/commit/0f049426f6320fab3dd19f4f90954daad590fa33?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos) (0f04942) will **increase** coverage by `7.76%`.
> The diff coverage is `58.95%`.

[![Impacted file tree graph](https://codecov.io/gh/nektos/act/pull/949/graphs/tree.svg?width=650&height=150&src=pr&token=LlaoppQrfP&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos)](https://codecov.io/gh/nektos/act/pull/949?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos)

```diff
@@            Coverage Diff             @@
##           master     #949      +/-   ##
==========================================
+ Coverage   49.27%   57.03%   +7.76%     
==========================================
  Files          23       32       +9     
  Lines        2401     4632    +2231     
==========================================
+ Hits         1183     2642    +1459     
- Misses       1090     1767     +677     
- Partials      128      223      +95     
```


| [Impacted Files](https://codecov.io/gh/nektos/act/pull/949?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos) | Coverage Δ | |
|---|---|---|
| [pkg/common/executor.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL2NvbW1vbi9leGVjdXRvci5nbw==) | `46.49% <0.00%> (+1.61%)` | :arrow_up: |
| [pkg/common/job\_error.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL2NvbW1vbi9qb2JfZXJyb3IuZ28=) | `0.00% <0.00%> (ø)` | |
| [pkg/common/outbound\_ip.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL2NvbW1vbi9vdXRib3VuZF9pcC5nbw==) | `0.00% <0.00%> (ø)` | |
| [pkg/common/testflag.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL2NvbW1vbi90ZXN0ZmxhZy5nbw==) | `0.00% <0.00%> (ø)` | |
| [pkg/container/docker\_volume.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL2NvbnRhaW5lci9kb2NrZXJfdm9sdW1lLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/model/action.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL21vZGVsL2FjdGlvbi5nbw==) | `0.00% <0.00%> (ø)` | |
| [pkg/model/github\_context.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL21vZGVsL2dpdGh1Yl9jb250ZXh0Lmdv) | `79.51% <ø> (ø)` | |
| [pkg/model/step\_result.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL21vZGVsL3N0ZXBfcmVzdWx0Lmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/container/docker\_run.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL2NvbnRhaW5lci9kb2NrZXJfcnVuLmdv) | `5.19% <9.41%> (+3.26%)` | :arrow_up: |
| [pkg/common/git.go](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos#diff-cGtnL2NvbW1vbi9naXQuZ28=) | `49.82% <31.81%> (-9.97%)` | :arrow_down: |
| ... and [39 more](https://codecov.io/gh/nektos/act/pull/949/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos) | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/nektos/act/pull/949?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/nektos/act/pull/949?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos). Last update [4e6cddf...c8ccf20](https://codecov.io/gh/nektos/act/pull/949?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nektos).

PR is stale and will be closed in 14 days unless there is new activity
First of all thank you :smiley: 

I find it hard to review currently, as we don't have tests (at least not much) for that.
I think it might really be good to separate your feature into it's own file with a function which decides if a file should be copied or not.
Then it would be quite easy to add test for that.

That seems reasonable. If you have any preferences about naming, please feel free to provide it before I start.

I'm not a big go dev, but so far, the ability to refactor the code here makes me fairly confident that moving it into a distinct file wouldn't be a big deal.
> That seems reasonable. If you have any preferences about naming, please feel free to provide it before I start.
> 

I have no preference, just give it a start.

> I'm not a big go dev, but so far, the ability to refactor the code here makes me fairly confident that moving it into a distinct file wouldn't be a big deal.

It should be straight forward if you stay in the folder (same package).

PR is stale and will be closed in 14 days unless there is new activity
Maybe i'll look again this week...

Fix patch:
diff --git a/pkg/container/docker_run.go b/pkg/container/docker_run.go
index 2747c3001fa..5334bfe0683 100644
--- a/pkg/container/docker_run.go
+++ b/pkg/container/docker_run.go
@@ -576,7 +576,6 @@ func (cr *containerReference) exec(cmd []string, env map[string]string, user, wo
 	}
 }
 
-// nolint: gocyclo
 func (cr *containerReference) copyDir(dstPath string, srcPath string, useGitIgnore bool) common.Executor {
 	return func(ctx context.Context) error {
 		logger := common.Logger(ctx)
@@ -585,8 +584,17 @@ func (cr *containerReference) copyDir(dstPath string, srcPath string, useGitIgno
 			return err
 		}
 		log.Debugf("Writing tarball %s from %s", tarFile.Name(), srcPath)
-		defer tarFile.Close()
-		defer os.Remove(tarFile.Name())
+		defer func(tarFile *os.File) {
+			name := tarFile.Name()
+			err := tarFile.Close()
+			if err != nil {
+				logger.Error(err)
+			}
+			err = os.Remove(name)
+			if err != nil {
+				logger.Error(err)
+			}
+		}(tarFile)
 		tw := tar.NewWriter(tarFile)
 
 		srcPrefix := filepath.Dir(srcPath)
@@ -605,69 +613,17 @@ func (cr *containerReference) copyDir(dstPath string, srcPath string, useGitIgno
 			ignorer = gitignore.NewMatcher(ps)
 		}
 
-		err = filepath.Walk(srcPath, func(file string, fi os.FileInfo, err error) error {
-			if err != nil {
-				return err
-			}
-
-			sansPrefix := strings.TrimPrefix(file, srcPrefix)
-			split := strings.Split(sansPrefix, string(filepath.Separator))
-			if ignorer != nil && ignorer.Match(split, fi.IsDir()) {
-				if fi.IsDir() {
-					return filepath.SkipDir
-				}
-				return nil
-			}
-
-			// return on non-regular files (thanks to [kumo](https://medium.com/@komuw/just-like-you-did-fbdd7df829d3) for this suggested update)
-			linkName := fi.Name()
-			if fi.Mode()&os.ModeSymlink == os.ModeSymlink {
-				linkName, err = os.Readlink(file)
-				if err != nil {
-					return errors.WithMessagef(err, "unable to readlink %s", file)
-				}
-			} else if !fi.Mode().IsRegular() {
-				return nil
-			}
-
-			// create a new dir/file header
-			header, err := tar.FileInfoHeader(fi, linkName)
-			if err != nil {
-				return err
-			}
-
-			// update the name to correctly reflect the desired destination when untaring
-			header.Name = filepath.ToSlash(sansPrefix)
-			header.Mode = int64(fi.Mode())
-			header.ModTime = fi.ModTime()
-
-			// write the header
-			if err := tw.WriteHeader(header); err != nil {
-				return err
-			}
-
-			// symlinks don't need to be copied
-			if fi.Mode()&os.ModeSymlink == os.ModeSymlink {
-				return nil
-			}
-
-			// open files for taring
-			f, err := os.Open(file)
-			if err != nil {
-				return err
-			}
-
-			// copy file data into tar writer
-			if _, err := io.Copy(tw, f); err != nil {
-				return err
-			}
-
-			// manually close here after each file operation; deferring would cause each file close
-			// to wait until all operations have completed.
-			f.Close()
+		fc := &fileCollector{
+			Fs:        &defaultFs{},
+			Ignorer:   ignorer,
+			SrcPath:   srcPath,
+			SrcPrefix: srcPrefix,
+			Handler: &tarCollector{
+				TarWriter: tw,
+			},
+		}
 
-			return nil
-		})
+		err = filepath.Walk(srcPath, fc.collectFiles(ctx, []string{}))
 		if err != nil {
 			return err
 		}
diff --git a/pkg/container/file_collector.go b/pkg/container/file_collector.go
new file mode 100644
index 00000000000..1e5a8afd948
--- /dev/null
+++ b/pkg/container/file_collector.go
@@ -0,0 +1,183 @@
+package container
+
+import (
+	"archive/tar"
+	"context"
+	"fmt"
+	"io"
+	"io/fs"
+	"os"
+	"path"
+	"path/filepath"
+	"strings"
+
+	git "github.com/go-git/go-git/v5"
+	"github.com/go-git/go-git/v5/plumbing/filemode"
+	"github.com/go-git/go-git/v5/plumbing/format/gitignore"
+	"github.com/go-git/go-git/v5/plumbing/format/index"
+	"github.com/pkg/errors"
+)
+
+type fileCollectorHandler interface {
+	WriteFile(path string, fi fs.FileInfo, linkName string, f io.Reader) error
+}
+
+type tarCollector struct {
+	TarWriter *tar.Writer
+}
+
+func (tc tarCollector) WriteFile(path string, fi fs.FileInfo, linkName string, f io.Reader) error {
+	// create a new dir/file header
+	header, err := tar.FileInfoHeader(fi, linkName)
+	if err != nil {
+		return err
+	}
+
+	// update the name to correctly reflect the desired destination when untaring
+	header.Name = path
+	header.Mode = int64(fi.Mode())
+	header.ModTime = fi.ModTime()
+
+	// write the header
+	if err := tc.TarWriter.WriteHeader(header); err != nil {
+		return err
+	}
+
+	// this is a symlink no reader provided
+	if f == nil {
+		return nil
+	}
+
+	// copy file data into tar writer
+	if _, err := io.Copy(tc.TarWriter, f); err != nil {
+		return err
+	}
+	return nil
+}
+
+type fileCollector struct {
+	Ignorer   gitignore.Matcher
+	SrcPath   string
+	SrcPrefix string
+	Fs        fileCollectorFs
+	Handler   fileCollectorHandler
+}
+
+type fileCollectorFs interface {
+	Walk(root string, fn filepath.WalkFunc) error
+	OpenGitIndex(path string) (*index.Index, error)
+	Open(path string) (io.ReadCloser, error)
+	Readlink(path string) (string, error)
+}
+
+type defaultFs struct {
+}
+
+func (*defaultFs) Walk(root string, fn filepath.WalkFunc) error {
+	return filepath.Walk(root, fn)
+}
+
+func (*defaultFs) OpenGitIndex(path string) (*index.Index, error) {
+	r, err := git.PlainOpen(path)
+	if err != nil {
+		return nil, err
+	}
+	i, err := r.Storer.Index()
+	if err != nil {
+		return nil, err
+	}
+	return i, nil
+}
+
+func (*defaultFs) Open(path string) (io.ReadCloser, error) {
+	return os.Open(path)
+}
+
+func (*defaultFs) Readlink(path string) (string, error) {
+	return os.Readlink(path)
+}
+
+// nolint: gocyclo
+func (fc *fileCollector) collectFiles(ctx context.Context, submodulePath []string) filepath.WalkFunc {
+	i, _ := fc.Fs.OpenGitIndex(path.Join(fc.SrcPath, path.Join(submodulePath...)))
+	return func(file string, fi os.FileInfo, err error) error {
+		if err != nil {
+			return err
+		}
+		if ctx != nil {
+			select {
+			case <-ctx.Done():
+				return fmt.Errorf("copy cancelled")
+			default:
+			}
+		}
+
+		sansPrefix := strings.TrimPrefix(file, fc.SrcPrefix)
+		split := strings.Split(sansPrefix, string(filepath.Separator))
+		// The root folders should be skipped, submodules only have the last path component set to "." by filepath.Walk
+		if fi.IsDir() && len(split) > 0 && split[len(split)-1] == "." {
+			return nil
+		}
+		var entry *index.Entry
+		if i != nil {
+			entry, err = i.Entry(strings.Join(split[len(submodulePath):], "/"))
+		} else {
+			err = index.ErrEntryNotFound
+		}
+		if err != nil && fc.Ignorer != nil && fc.Ignorer.Match(split, fi.IsDir()) {
+			if fi.IsDir() {
+				if i != nil {
+					ms, err := i.Glob(strings.Join(append(split[len(submodulePath):], "**"), "/"))
+					if err != nil || len(ms) == 0 {
+						return filepath.SkipDir
+					}
+				} else {
+					return filepath.SkipDir
+				}
+			} else {
+				return nil
+			}
+		}
+		if err == nil && entry.Mode == filemode.Submodule {
+			err = filepath.Walk(fi.Name(), fc.collectFiles(ctx, split))
+			if err != nil {
+				return err
+			}
+			return filepath.SkipDir
+		}
+		path := filepath.ToSlash(sansPrefix)
+
+		// return on non-regular files (thanks to [kumo](https://medium.com/@komuw/just-like-you-did-fbdd7df829d3) for this suggested update)
+		if fi.Mode()&os.ModeSymlink == os.ModeSymlink {
+			linkName, err := fc.Fs.Readlink(file)
+			if err != nil {
+				return errors.WithMessagef(err, "unable to readlink %s", file)
+			}
+			return fc.Handler.WriteFile(path, fi, linkName, nil)
+		} else if !fi.Mode().IsRegular() {
+			return nil
+		}
+
+		// open file
+		f, err := fc.Fs.Open(file)
+		if err != nil {
+			return err
+		}
+		defer f.Close()
+
+		if ctx != nil {
+			// make io.Copy cancellable by closing the file
+			cpctx, cpfinish := context.WithCancel(ctx)
+			defer cpfinish()
+			go func() {
+				select {
+				case <-cpctx.Done():
+				case <-ctx.Done():
+					f.Close()
+				}
+			}()
+		}
+
+		return fc.Handler.WriteFile(path, fi, "", f)
+	}
+}


Test patch:
diff --git a/pkg/container/file_collector_test.go b/pkg/container/file_collector_test.go
new file mode 100644
index 00000000000..86b80034c3f
--- /dev/null
+++ b/pkg/container/file_collector_test.go
@@ -0,0 +1,117 @@
+package container
+
+import (
+	"archive/tar"
+	"context"
+	"io"
+	"path/filepath"
+	"strings"
+	"testing"
+
+	"github.com/go-git/go-billy/v5"
+	"github.com/go-git/go-billy/v5/memfs"
+	git "github.com/go-git/go-git/v5"
+	"github.com/go-git/go-git/v5/plumbing/cache"
+	"github.com/go-git/go-git/v5/plumbing/format/gitignore"
+	"github.com/go-git/go-git/v5/plumbing/format/index"
+	"github.com/go-git/go-git/v5/storage/filesystem"
+	"github.com/stretchr/testify/assert"
+)
+
+type memoryFs struct {
+	billy.Filesystem
+}
+
+func (mfs *memoryFs) walk(root string, fn filepath.WalkFunc) error {
+	dir, err := mfs.ReadDir(root)
+	if err != nil {
+		return err
+	}
+	for i := 0; i < len(dir); i++ {
+		filename := filepath.Join(root, dir[i].Name())
+		err = fn(filename, dir[i], nil)
+		if dir[i].IsDir() {
+			if err == filepath.SkipDir {
+				err = nil
+			} else if err := mfs.walk(filename, fn); err != nil {
+				return err
+			}
+		}
+		if err != nil {
+			return err
+		}
+	}
+	return nil
+}
+
+func (mfs *memoryFs) Walk(root string, fn filepath.WalkFunc) error {
+	stat, err := mfs.Lstat(root)
+	if err != nil {
+		return err
+	}
+	err = fn(strings.Join([]string{root, "."}, string(filepath.Separator)), stat, nil)
+	if err != nil {
+		return err
+	}
+	return mfs.walk(root, fn)
+}
+
+func (mfs *memoryFs) OpenGitIndex(path string) (*index.Index, error) {
+	f, _ := mfs.Filesystem.Chroot(filepath.Join(path, ".git"))
+	storage := filesystem.NewStorage(f, cache.NewObjectLRUDefault())
+	i, err := storage.Index()
+	if err != nil {
+		return nil, err
+	}
+	return i, nil
+}
+
+func (mfs *memoryFs) Open(path string) (io.ReadCloser, error) {
+	return mfs.Filesystem.Open(path)
+}
+
+func (mfs *memoryFs) Readlink(path string) (string, error) {
+	return mfs.Filesystem.Readlink(path)
+}
+
+func TestIgnoredTrackedfile(t *testing.T) {
+	fs := memfs.New()
+	_ = fs.MkdirAll("mygitrepo/.git", 0777)
+	dotgit, _ := fs.Chroot("mygitrepo/.git")
+	worktree, _ := fs.Chroot("mygitrepo")
+	repo, _ := git.Init(filesystem.NewStorage(dotgit, cache.NewObjectLRUDefault()), worktree)
+	f, _ := worktree.Create(".gitignore")
+	_, _ = f.Write([]byte(".*\n"))
+	f.Close()
+	// This file shouldn't be in the tar
+	f, _ = worktree.Create(".env")
+	_, _ = f.Write([]byte("test=val1\n"))
+	f.Close()
+	w, _ := repo.Worktree()
+	// .gitignore is in the tar after adding it to the index
+	_, _ = w.Add(".gitignore")
+
+	tmpTar, _ := fs.Create("temp.tar")
+	tw := tar.NewWriter(tmpTar)
+	ps, _ := gitignore.ReadPatterns(worktree, []string{})
+	ignorer := gitignore.NewMatcher(ps)
+	fc := &fileCollector{
+		Fs:        &memoryFs{Filesystem: fs},
+		Ignorer:   ignorer,
+		SrcPath:   "mygitrepo",
+		SrcPrefix: "mygitrepo" + string(filepath.Separator),
+		Handler: &tarCollector{
+			TarWriter: tw,
+		},
+	}
+	err := fc.Fs.Walk("mygitrepo", fc.collectFiles(context.Background(), []string{}))
+	assert.NoError(t, err, "successfully collect files")
+	tw.Close()
+	_, _ = tmpTar.Seek(0, io.SeekStart)
+	tr := tar.NewReader(tmpTar)
+	h, err := tr.Next()
+	assert.NoError(t, err, "tar must not be empty")
+	assert.Equal(t, ".gitignore", h.Name)
+	_, err = tr.Next()
+	assert.ErrorIs(t, err, io.EOF, "tar must only contain one element")
+}