nektos / act

Run your GitHub Actions locally šŸš€
https://nektosact.com
MIT License
55.36k stars 1.38k forks source link

PATH passed via env key is discarded and replaced #1175

Closed 0x5c closed 2 years ago

0x5c commented 2 years ago

System information

Expected behaviour

PATH provided in the env key of a job is not overwritten with an unrelated value.

Actual behaviour

The PATH is hardcoded to

/opt/hostedtoolcache/node/16.15.0/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

Workflow and/or repository

https://github.com/void-linux/void-packages/blob/master/.github/workflows/build.yaml

Steps to reproduce

  1. Clone the above repo
  2. Checkout https://github.com/void-linux/void-packages/pull/37174
  3. Run act -e [json file below] -j xlint pull_request (this targets the xlint job as it is the only fast one, but both jobs in the workflow are affected)
  4. nĀ°3 will fail
  5. Add - run: echo "${PATH}" as the second step to the xlint job.
  6. We can now see why the failure happens
{
    "pull_request": {
        "base": {
            "ref": "daac1e0248c421e1acc880168637c8857951a8dd"
        },
        "head": {
            "ref": "HEAD"
        }
    }
}

act output

Log ```none $ act -v -e local-DNC/ci_pr.json -j xlint pull_request DEBU[0000] Loading environment from /code/void/packages/.env DEBU[0000] Loading secrets from /code/void/packages/.secrets DEBU[0000] Loading workflows from '/code/void/packages/.github/workflows' DEBU[0000] Loading workflows recursively DEBU[0000] Found workflow 'build.yaml' in '/code/void/packages/.github/workflows/build.yaml' DEBU[0000] Found workflow 'cycles.yml' in '/code/void/packages/.github/workflows/cycles.yml' DEBU[0000] Found workflow 'stale.yml' in '/code/void/packages/.github/workflows/stale.yml' DEBU[0000] Reading workflow '/code/void/packages/.github/workflows/build.yaml' DEBU[0000] Reading workflow '/code/void/packages/.github/workflows/cycles.yml' DEBU[0000] Reading workflow '/code/void/packages/.github/workflows/stale.yml' DEBU[0000] Planning job: xlint DEBU[0000] Reading event.json from /code/void/packages/local-DNC/ci_pr.json DEBU[0000] Loading slug from git directory '/code/void/packages/.git' DEBU[0000] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0000] evaluating expression 'success()' DEBU[0000] expression 'success()' evaluated to 'true' [Check build/Lint templates] šŸš€ Start image=ghcr.io/catthehacker/ubuntu:act-latest DEBU[0000] Loading slug from git directory '/code/void/packages/.git' DEBU[0000] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc [Check build/Lint templates] šŸ³ docker pull image=ghcr.io/catthehacker/ubuntu:act-latest platform= username= forcePull=false [Check build/Lint templates] šŸ³ docker pull ghcr.io/catthehacker/ubuntu:act-latest DEBU[0000] Image exists? true [Check build/Lint templates] Removed container: b4ad83bcf4d64671e8398fc8447995137928009235adc461287547bb2c8b3b15 [Check build/Lint templates] šŸ³ docker volume rm act-Check-build-Lint-templates [Check build/Lint templates] šŸ³ docker create image=ghcr.io/catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Check build/Lint templates] Created container name=act-Check-build-Lint-templates id=2d1a09eb344fe1ed84ac1cd4da3c1ac6cc17adc412ebecf622f3c9c988438dba from image ghcr.io/catthehacker/ubuntu:act-latest (platform: ) [Check build/Lint templates] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [Check build/Lint templates] šŸ³ docker run image=ghcr.io/catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Check build/Lint templates] Starting container: 2d1a09eb344fe1ed84ac1cd4da3c1ac6cc17adc412ebecf622f3c9c988438dba [Check build/Lint templates] Started container: 2d1a09eb344fe1ed84ac1cd4da3c1ac6cc17adc412ebecf622f3c9c988438dba [Check build/Lint templates] šŸ³ docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir= [Check build/Lint templates] Exec command '[mkdir -m 0777 -p /var/run/act]' [Check build/Lint templates] Working directory '/code/void/packages' [Check build/Lint templates] šŸ³ docker cp src=/code/void/packages/. dst=/code/void/packages [Check build/Lint templates] šŸ³ docker exec cmd=[mkdir -p /code/void/packages] user= workdir= [Check build/Lint templates] Exec command '[mkdir -p /code/void/packages]' [Check build/Lint templates] Working directory '/code/void/packages' DEBU[0002] Writing tarball /tmp/act3929344744 from /code/void/packages/. DEBU[0002] Stripping prefix:/code/void/packages/ src:/code/void/packages/. [Check build/Lint templates] Extracting content from '/tmp/act3929344744' to '/code/void/packages' DEBU[0005] Writing entry to tarball workflow/event.json len:143 DEBU[0005] Writing entry to tarball workflow/envs.txt len:0 DEBU[0005] Writing entry to tarball workflow/paths.txt len:0 [Check build/Lint templates] Extracting content to '/var/run/act/' DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0005] evaluating expression '' DEBU[0005] expression '' evaluated to 'true' DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc [Check build/Lint templates] 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_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF:master GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF:HEAD GITHUB_JOB:Lint templates GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/pull/%!s()/merge GITHUB_REPOSITORY:0x5c/void-packages GITHUB_REPOSITORY_OWNER:0x5c GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:fd789400824a488facdcb51bc26d283c6a5787dc GITHUB_TOKEN: GITHUB_WORKFLOW:Check build GITHUB_WORKSPACE:/code/void/packages IMAGE_OS:ubuntu20 INPUT_FETCH-DEPTH:200 ImageOS:ubuntu20 LICENSE_LIST:common/travis/license.lst LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/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 XLINT:1] [Check build/Lint templates] ā­ Run actions/checkout@v1 DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc [Check build/Lint templates] Skipping local actions/checkout because workdir was already copied [Check build/Lint templates] āœ… Success - actions/checkout@v1 DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0005] evaluating expression '' DEBU[0005] expression '' evaluated to 'true' DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc [Check build/Lint templates] 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_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF:master GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF:HEAD GITHUB_JOB:Lint templates GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/pull/%!s()/merge GITHUB_REPOSITORY:0x5c/void-packages GITHUB_REPOSITORY_OWNER:0x5c GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:fd789400824a488facdcb51bc26d283c6a5787dc GITHUB_TOKEN: GITHUB_WORKFLOW:Check build GITHUB_WORKSPACE:/code/void/packages IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LICENSE_LIST:common/travis/license.lst LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/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 XLINT:1] [Check build/Lint templates] ā­ Run echo "${PATH}" DEBU[0005] Wrote command echo "${PATH}" to 'workflow/1' DEBU[0005] Writing entry to tarball workflow/1 len:16 [Check build/Lint templates] Extracting content to '/var/run/act' [Check build/Lint templates] šŸ³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1] user= workdir= [Check build/Lint templates] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1]' [Check build/Lint templates] Working directory '/code/void/packages' | /opt/hostedtoolcache/node/16.15.0/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 [Check build/Lint templates] āœ… Success - echo "${PATH}" DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0005] evaluating expression '' DEBU[0005] expression '' evaluated to 'true' DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0005] Loading slug from git directory '/code/void/packages/.git' DEBU[0005] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc [Check build/Lint templates] 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_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF:master GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF:HEAD GITHUB_JOB:Lint templates GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/pull/%!s()/merge GITHUB_REPOSITORY:0x5c/void-packages GITHUB_REPOSITORY_OWNER:0x5c GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:fd789400824a488facdcb51bc26d283c6a5787dc GITHUB_TOKEN: GITHUB_WORKFLOW:Check build GITHUB_WORKSPACE:/code/void/packages IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LICENSE_LIST:common/travis/license.lst LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/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 XLINT:1] [Check build/Lint templates] ā­ Run common/travis/fetch_upstream.sh DEBU[0005] Wrote command common/travis/fetch_upstream.sh to 'workflow/2' DEBU[0005] Writing entry to tarball workflow/2 len:33 [Check build/Lint templates] Extracting content to '/var/run/act' [Check build/Lint templates] šŸ³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/2] user= workdir= [Check build/Lint templates] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/2]' [Check build/Lint templates] Working directory '/code/void/packages' | Fetching upstream... | remote: Enumerating objects: 158, done. remote: Counting objects: 100% (130/130), done. remote: Compressing objects: 100% (50/50), done. | remote: Total 98 (delta 56), reused 73 (delta 35), pack-reused 0 Unpacking objects: 100% (98/98), 12.73 KiB | 35.00 KiB/s, done. | From https://github.com/void-linux/void-packages | * branch master -> FETCH_HEAD [Check build/Lint templates] āœ… Success - common/travis/fetch_upstream.sh DEBU[0007] Loading slug from git directory '/code/void/packages/.git' DEBU[0007] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0007] evaluating expression '' DEBU[0007] expression '' evaluated to 'true' DEBU[0007] Loading slug from git directory '/code/void/packages/.git' DEBU[0007] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0007] Loading slug from git directory '/code/void/packages/.git' DEBU[0007] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc [Check build/Lint templates] 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_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF:master GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF:HEAD GITHUB_JOB:Lint templates GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/pull/%!s()/merge GITHUB_REPOSITORY:0x5c/void-packages GITHUB_REPOSITORY_OWNER:0x5c GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:fd789400824a488facdcb51bc26d283c6a5787dc GITHUB_TOKEN: GITHUB_WORKFLOW:Check build GITHUB_WORKSPACE:/code/void/packages IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LICENSE_LIST:common/travis/license.lst LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/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 XLINT:1] [Check build/Lint templates] ā­ Run common/travis/changed_templates.sh DEBU[0007] Wrote command common/travis/changed_templates.sh to 'workflow/3' DEBU[0007] Writing entry to tarball workflow/3 len:36 [Check build/Lint templates] Extracting content to '/var/run/act' [Check build/Lint templates] šŸ³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/3] user= workdir= [Check build/Lint templates] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/3]' [Check build/Lint templates] Working directory '/code/void/packages' | Changed packages: | act [Check build/Lint templates] āœ… Success - common/travis/changed_templates.sh DEBU[0007] Loading slug from git directory '/code/void/packages/.git' DEBU[0007] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0007] evaluating expression '' DEBU[0007] expression '' evaluated to 'true' DEBU[0007] Loading slug from git directory '/code/void/packages/.git' DEBU[0007] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0007] Loading slug from git directory '/code/void/packages/.git' DEBU[0007] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc [Check build/Lint templates] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF:master GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF:HEAD GITHUB_JOB:Lint templates GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/pull/%!s()/merge GITHUB_REPOSITORY:0x5c/void-packages GITHUB_REPOSITORY_OWNER:0x5c GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:fd789400824a488facdcb51bc26d283c6a5787dc GITHUB_TOKEN: GITHUB_WORKFLOW:Check build GITHUB_WORKSPACE:/code/void/packages IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LICENSE_LIST:common/travis/license.lst LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/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:/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 XLINT:1] [Check build/Lint templates] ā­ Run common/travis/fetch-xbps.sh DEBU[0007] Wrote command common/travis/fetch-xbps.sh to 'workflow/4' DEBU[0007] Writing entry to tarball workflow/4 len:29 [Check build/Lint templates] Extracting content to '/var/run/act' [Check build/Lint templates] šŸ³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/4] user= workdir= [Check build/Lint templates] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/4]' [Check build/Lint templates] Working directory '/code/void/packages' | Installing xbps... [Check build/Lint templates] āœ… Success - common/travis/fetch-xbps.sh DEBU[0009] Loading slug from git directory '/code/void/packages/.git' DEBU[0009] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0009] evaluating expression '' DEBU[0009] expression '' evaluated to 'true' DEBU[0009] Loading slug from git directory '/code/void/packages/.git' DEBU[0009] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0010] Loading slug from git directory '/code/void/packages/.git' DEBU[0010] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc [Check build/Lint templates] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF:master GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF:HEAD GITHUB_JOB:Lint templates GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/pull/%!s()/merge GITHUB_REPOSITORY:0x5c/void-packages GITHUB_REPOSITORY_OWNER:0x5c GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:fd789400824a488facdcb51bc26d283c6a5787dc GITHUB_TOKEN: GITHUB_WORKFLOW:Check build GITHUB_WORKSPACE:/code/void/packages IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LICENSE_LIST:common/travis/license.lst LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/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:/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 XLINT:1] [Check build/Lint templates] ā­ Run common/travis/fetch-xtools.sh DEBU[0010] Wrote command common/travis/fetch-xtools.sh to 'workflow/5' DEBU[0010] Writing entry to tarball workflow/5 len:31 [Check build/Lint templates] Extracting content to '/var/run/act' [Check build/Lint templates] šŸ³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/5] user= workdir= [Check build/Lint templates] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/5]' [Check build/Lint templates] Working directory '/code/void/packages' | Installing xtools... [Check build/Lint templates] āœ… Success - common/travis/fetch-xtools.sh DEBU[0010] Loading slug from git directory '/code/void/packages/.git' DEBU[0010] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0010] evaluating expression '' DEBU[0010] expression '' evaluated to 'true' DEBU[0010] Loading slug from git directory '/code/void/packages/.git' DEBU[0010] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc DEBU[0010] Loading slug from git directory '/code/void/packages/.git' DEBU[0010] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc [Check build/Lint templates] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:6 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF:master GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF:HEAD GITHUB_JOB:Lint templates GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/pull/%!s()/merge GITHUB_REPOSITORY:0x5c/void-packages GITHUB_REPOSITORY_OWNER:0x5c GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:fd789400824a488facdcb51bc26d283c6a5787dc GITHUB_TOKEN: GITHUB_WORKFLOW:Check build GITHUB_WORKSPACE:/code/void/packages IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LICENSE_LIST:common/travis/license.lst LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/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:/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 XLINT:1] [Check build/Lint templates] ā­ Run common/travis/xlint.sh DEBU[0010] Wrote command common/travis/xlint.sh to 'workflow/6' DEBU[0010] Writing entry to tarball workflow/6 len:24 [Check build/Lint templates] Extracting content to '/var/run/act' [Check build/Lint templates] šŸ³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/6] user= workdir= [Check build/Lint templates] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/6]' [Check build/Lint templates] Working directory '/code/void/packages' | Linting srcpkgs/act/template... | common/travis/xlint.sh: 14: xlint: not found | common/scripts/lint-version-change: 81: xbps-uhelper: not found [Check build/Lint templates] āŒ Failure - common/travis/xlint.sh [Check build/Lint templates] exit with `FAILURE`: 127 DEBU[0011] Loading slug from git directory '/code/void/packages/.git' DEBU[0011] Found revision: fd789400824a488facdcb51bc26d283c6a5787dc Error: Job 'Lint templates' failed ```
github-actions[bot] commented 2 years ago

Issue is stale and will be closed in 14 days unless there is new activity

0x5c commented 2 years ago

PR is stale and will be closed in 14 days unless there is new activity

Still affected by the bug

github-actions[bot] commented 2 years ago

Issue is stale and will be closed in 14 days unless there is new activity

0x5c commented 2 years ago

Issue is stale and will be closed in 14 days unless there is new activity

The bug is still affecting me

github-actions[bot] commented 2 years ago

Issue is stale and will be closed in 14 days unless there is new activity