Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOENT: no such file or directory, open '/opt/hostedtoolcache/linux.sh' #397

Closed
4 of 5 tasks
elazar opened this issue Jan 18, 2021 · 3 comments
Closed
4 of 5 tasks
Assignees
Labels
workflow-edit Issue can be fixed by editing the GitHub Action workflow

Comments

@elazar
Copy link

elazar commented Jan 18, 2021

Describe the bug

I'm seeing an error similar to the one described in nektos/act#197; this comment implies that the reported problem was addressed in v2. Below I've included a relevant snippet from the full logs, which are also included further down.

[Test/Lint: PHP 8.1-6] Exec command '[node /actions/shivammathur-setup-php@v2/dist/index.js]'
[Test/Lint: PHP 8.1-6]   ❗  ::error::ENOENT: no such file or directory, open '/opt/hostedtoolcache/linux.sh'
[Test/Lint: PHP 8.1-6]   ❌  Failure - Install PHP

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems
ubuntu-latest

PHP versions
5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1

To Reproduce
Here's the full workflow file for the relevant job.

Expected behavior
I expected the behavior to be consistent with this job as it runs on GitHub. Here's an example run of the job.

Screenshots/Logs

$ act -P ubuntu-18.04=shivammathur/node:bionic -vvv -j test
[Test/Lint: PHP 8.1-6                       ] 🧪  Matrix: map[experimental:true php:8.1]
[Test/Lint: PHP 8.1-6                       ] 🚀  Start image=node:12.6-buster-slim
[Test/Lint: PHP 7.0-3                       ] 🧪  Matrix: map[experimental:false php:7.0]
[Test/Lint: PHP 7.0-3                       ] 🚀  Start image=node:12.6-buster-slim
[Test/Lint: PHP 7.4-4                       ] 🧪  Matrix: map[experimental:false php:7.4]
[Test/Lint: PHP 7.4-4                       ] 🚀  Start image=node:12.6-buster-slim
[Test/Lint: PHP 8.0-5                       ] 🧪  Matrix: map[experimental:false php:8.0]
[Test/Lint: PHP 8.0-5                       ] 🚀  Start image=node:12.6-buster-slim
[Test/Lint: PHP 5.4-1                       ] 🧪  Matrix: map[experimental:false php:5.4]
[Test/Lint: PHP 5.4-1                       ] 🚀  Start image=node:12.6-buster-slim
[Test/Lint: PHP 5.6-2                       ] 🧪  Matrix: map[experimental:false php:5.6]
[Test/Lint: PHP 5.6-2                       ] 🚀  Start image=node:12.6-buster-slim
[Test/Lint: PHP 7.4-4                       ]   🐳  docker pull node:12.6-buster-slim
[Test/Lint: PHP 8.1-6                       ]   🐳  docker pull node:12.6-buster-slim
[Test/Lint: PHP 8.0-5                       ]   🐳  docker pull node:12.6-buster-slim
[Test/Lint: PHP 5.6-2                       ]   🐳  docker pull node:12.6-buster-slim
[Test/Lint: PHP 5.4-1                       ]   🐳  docker pull node:12.6-buster-slim
[Test/Lint: PHP 7.0-3                       ]   🐳  docker pull node:12.6-buster-slim
[Test/Lint: PHP 8.1-6                       ] Removed container: eb92c38085314b77b4968d14561279388a54b7fb7b32e6e51b6f38b62818bef1
[Test/Lint: PHP 8.1-6                       ]   🐳  docker volume rm act-Test-Lint--PHP-8-1-6
[Test/Lint: PHP 8.1-6                       ]   🐳  docker create image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 5.6-2                       ] Removed container: 27195a680633f13c502cc62c499d0d84f14c30f2e4b89f9c56ede075611ab6d2
[Test/Lint: PHP 5.6-2                       ]   🐳  docker volume rm act-Test-Lint--PHP-5-6-2
[Test/Lint: PHP 5.6-2                       ]   🐳  docker create image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 7.4-4                       ] Removed container: 5b83a3ab5a958be8269b13343eb203710cb6c2c1a115adb8081ee4696f235fa7
[Test/Lint: PHP 8.0-5                       ] Removed container: d129450b9b0e6cbc69e8eb77b762274d45f937dca149ed067b2dd0cfd95e7e98
[Test/Lint: PHP 5.4-1                       ] Removed container: 1ad0c5db13dcf432bfec48c4737de68408621b0da8671b9fea6dba062fb1548f
[Test/Lint: PHP 7.0-3                       ] Removed container: 391dff7a6a3d19b763d8aaf966bdf9a07821f6a60a2cb4dec409e8c373e0526d
[Test/Lint: PHP 7.0-3                       ]   🐳  docker volume rm act-Test-Lint--PHP-7-0-3
[Test/Lint: PHP 7.4-4                       ]   🐳  docker volume rm act-Test-Lint--PHP-7-4-4
[Test/Lint: PHP 8.0-5                       ]   🐳  docker volume rm act-Test-Lint--PHP-8-0-5
[Test/Lint: PHP 5.4-1                       ]   🐳  docker volume rm act-Test-Lint--PHP-5-4-1
[Test/Lint: PHP 7.4-4                       ]   🐳  docker create image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 7.0-3                       ]   🐳  docker create image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 8.0-5                       ]   🐳  docker create image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 8.1-6                       ] Created container name=act-Test-Lint--PHP-8-1-6 id=3ca4786fbcd9b944977e6f0fd059b85074c57a025f2a8f6400d0d95646ebfcec from image node:12.6-buster-slim
[Test/Lint: PHP 8.1-6                       ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Test/Lint: PHP 8.1-6                       ]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 8.1-6                       ] Starting container: 3ca4786fbcd9b944977e6f0fd059b85074c57a025f2a8f6400d0d95646ebfcec
[Test/Lint: PHP 5.4-1                       ]   🐳  docker create image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 7.4-4                       ] Created container name=act-Test-Lint--PHP-7-4-4 id=fe40d61ed7a34c250831a6173d134d8dee77a7220f4088c344e97d79d67cb41f from image node:12.6-buster-slim
[Test/Lint: PHP 7.4-4                       ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Test/Lint: PHP 7.4-4                       ]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 7.4-4                       ] Starting container: fe40d61ed7a34c250831a6173d134d8dee77a7220f4088c344e97d79d67cb41f
[Test/Lint: PHP 7.0-3                       ] Created container name=act-Test-Lint--PHP-7-0-3 id=a094aa81a4a05c2c97a9d3a99ec0b47677f3a3f8daa3fd545a79af9737be3ec3 from image node:12.6-buster-slim
[Test/Lint: PHP 7.0-3                       ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Test/Lint: PHP 7.0-3                       ]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 7.0-3                       ] Starting container: a094aa81a4a05c2c97a9d3a99ec0b47677f3a3f8daa3fd545a79af9737be3ec3
[Test/Lint: PHP 5.6-2                       ] Created container name=act-Test-Lint--PHP-5-6-2 id=f923696428bbbc30eaee231662dd7425ea4df17df1804468c5a3b5a8fca3f6b9 from image node:12.6-buster-slim
[Test/Lint: PHP 5.6-2                       ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Test/Lint: PHP 5.6-2                       ]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 5.6-2                       ] Starting container: f923696428bbbc30eaee231662dd7425ea4df17df1804468c5a3b5a8fca3f6b9
[Test/Lint: PHP 8.0-5                       ] Created container name=act-Test-Lint--PHP-8-0-5 id=668fbe725eda0d83c78fbed9a6ba656f53ba2a2dec54607447252ed38b747e53 from image node:12.6-buster-slim
[Test/Lint: PHP 8.0-5                       ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Test/Lint: PHP 8.0-5                       ]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 8.0-5                       ] Starting container: 668fbe725eda0d83c78fbed9a6ba656f53ba2a2dec54607447252ed38b747e53
[Test/Lint: PHP 5.4-1                       ] Created container name=act-Test-Lint--PHP-5-4-1 id=c897a1324f11b506b299b48b7f3eecbfa0e443b2f709912e6bdd572e7d2a8b96 from image node:12.6-buster-slim
[Test/Lint: PHP 5.4-1                       ] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Test/Lint: PHP 5.4-1                       ]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Test/Lint: PHP 5.4-1                       ] Starting container: c897a1324f11b506b299b48b7f3eecbfa0e443b2f709912e6bdd572e7d2a8b96
[Test/Lint: PHP 8.1-6                       ] Started container: 3ca4786fbcd9b944977e6f0fd059b85074c57a025f2a8f6400d0d95646ebfcec
[Test/Lint: PHP 8.1-6                       ]   🐳  docker cp src=/home/matt/Code/Personal/PHPCompatibility/. dst=/github/workspace
[Test/Lint: PHP 8.1-6                       ] Exec command '[mkdir -p /github/workspace]'
[Test/Lint: PHP 7.4-4                       ] Started container: fe40d61ed7a34c250831a6173d134d8dee77a7220f4088c344e97d79d67cb41f
[Test/Lint: PHP 7.4-4                       ]   🐳  docker cp src=/home/matt/Code/Personal/PHPCompatibility/. dst=/github/workspace
[Test/Lint: PHP 7.4-4                       ] Exec command '[mkdir -p /github/workspace]'
[Test/Lint: PHP 8.0-5                       ] Started container: 668fbe725eda0d83c78fbed9a6ba656f53ba2a2dec54607447252ed38b747e53
[Test/Lint: PHP 8.0-5                       ]   🐳  docker cp src=/home/matt/Code/Personal/PHPCompatibility/. dst=/github/workspace
[Test/Lint: PHP 8.0-5                       ] Exec command '[mkdir -p /github/workspace]'
[Test/Lint: PHP 5.4-1                       ] Started container: c897a1324f11b506b299b48b7f3eecbfa0e443b2f709912e6bdd572e7d2a8b96
[Test/Lint: PHP 5.4-1                       ]   🐳  docker cp src=/home/matt/Code/Personal/PHPCompatibility/. dst=/github/workspace
[Test/Lint: PHP 5.4-1                       ] Exec command '[mkdir -p /github/workspace]'
[Test/Lint: PHP 7.0-3                       ] Started container: a094aa81a4a05c2c97a9d3a99ec0b47677f3a3f8daa3fd545a79af9737be3ec3
[Test/Lint: PHP 7.0-3                       ]   🐳  docker cp src=/home/matt/Code/Personal/PHPCompatibility/. dst=/github/workspace
[Test/Lint: PHP 7.0-3                       ] Exec command '[mkdir -p /github/workspace]'
[Test/Lint: PHP 5.6-2                       ] Started container: f923696428bbbc30eaee231662dd7425ea4df17df1804468c5a3b5a8fca3f6b9
[Test/Lint: PHP 5.6-2                       ]   🐳  docker cp src=/home/matt/Code/Personal/PHPCompatibility/. dst=/github/workspace
[Test/Lint: PHP 5.6-2                       ] Exec command '[mkdir -p /github/workspace]'
[Test/Lint: PHP 8.1-6                       ] Extracting content from '/tmp/act421248518' to '/github/workspace'
[Test/Lint: PHP 7.4-4                       ] Extracting content from '/tmp/act522452397' to '/github/workspace'
[Test/Lint: PHP 8.0-5                       ] Extracting content from '/tmp/act996828456' to '/github/workspace'
[Test/Lint: PHP 5.4-1                       ] Extracting content from '/tmp/act457469543' to '/github/workspace'
[Test/Lint: PHP 7.0-3                       ] Extracting content from '/tmp/act076691098' to '/github/workspace'
[Test/Lint: PHP 5.6-2                       ] Extracting content from '/tmp/act288866097' to '/github/workspace'
[Test/Lint: PHP 8.1-6                       ] Extracting content to '/github/'
[Test/Lint: PHP 7.4-4                       ] Extracting content to '/github/'
[Test/Lint: PHP 8.1-6                       ] ⭐  Run Checkout code
[Test/Lint: PHP 8.1-6                       ] Skipping actions/checkout
[Test/Lint: PHP 8.1-6                       ]   ✅  Success - Checkout code
[Test/Lint: PHP 8.0-5                       ] Extracting content to '/github/'
[Test/Lint: PHP 5.4-1                       ] Extracting content to '/github/'
[Test/Lint: PHP 5.6-2                       ] Extracting content to '/github/'
[Test/Lint: PHP 7.0-3                       ] Extracting content to '/github/'
[Test/Lint: PHP 8.1-6                       ] ⭐  Run Install PHP
[Test/Lint: PHP 8.1-6                       ]   ☁  git clone 'https://github.com/shivammathur/setup-php' # ref=v2
[Test/Lint: PHP 8.1-6                       ]   cloning https://github.com/shivammathur/setup-php to /home/matt/.cache/act/shivammathur-setup-php@v2
[Test/Lint: PHP 7.4-4                       ] ⭐  Run Checkout code
[Test/Lint: PHP 7.4-4                       ] Skipping actions/checkout
[Test/Lint: PHP 7.4-4                       ]   ✅  Success - Checkout code
[Test/Lint: PHP 8.0-5                       ] ⭐  Run Checkout code
[Test/Lint: PHP 8.0-5                       ] Skipping actions/checkout
[Test/Lint: PHP 8.0-5                       ]   ✅  Success - Checkout code
[Test/Lint: PHP 5.4-1                       ] ⭐  Run Checkout code
[Test/Lint: PHP 7.4-4                       ] ⭐  Run Install PHP
[Test/Lint: PHP 7.4-4                       ]   ☁  git clone 'https://github.com/shivammathur/setup-php' # ref=v2
[Test/Lint: PHP 7.4-4                       ]   cloning https://github.com/shivammathur/setup-php to /home/matt/.cache/act/shivammathur-setup-php@v2
[Test/Lint: PHP 5.4-1                       ] Skipping actions/checkout
[Test/Lint: PHP 5.4-1                       ]   ✅  Success - Checkout code
[Test/Lint: PHP 5.6-2                       ] ⭐  Run Checkout code
[Test/Lint: PHP 5.6-2                       ] Skipping actions/checkout
[Test/Lint: PHP 5.6-2                       ]   ✅  Success - Checkout code
[Test/Lint: PHP 7.0-3                       ] ⭐  Run Checkout code
[Test/Lint: PHP 7.0-3                       ] Skipping actions/checkout
[Test/Lint: PHP 7.0-3                       ]   ✅  Success - Checkout code
[Test/Lint: PHP 8.0-5                       ] ⭐  Run Install PHP
[Test/Lint: PHP 8.0-5                       ]   ☁  git clone 'https://github.com/shivammathur/setup-php' # ref=v2
[Test/Lint: PHP 8.0-5                       ]   cloning https://github.com/shivammathur/setup-php to /home/matt/.cache/act/shivammathur-setup-php@v2
[Test/Lint: PHP 5.4-1                       ] ⭐  Run Install PHP
[Test/Lint: PHP 5.4-1                       ]   ☁  git clone 'https://github.com/shivammathur/setup-php' # ref=v2
[Test/Lint: PHP 5.4-1                       ]   cloning https://github.com/shivammathur/setup-php to /home/matt/.cache/act/shivammathur-setup-php@v2
[Test/Lint: PHP 5.6-2                       ] ⭐  Run Install PHP
[Test/Lint: PHP 5.6-2                       ]   ☁  git clone 'https://github.com/shivammathur/setup-php' # ref=v2
[Test/Lint: PHP 5.6-2                       ]   cloning https://github.com/shivammathur/setup-php to /home/matt/.cache/act/shivammathur-setup-php@v2
[Test/Lint: PHP 7.0-3                       ] ⭐  Run Install PHP
[Test/Lint: PHP 7.0-3                       ]   ☁  git clone 'https://github.com/shivammathur/setup-php' # ref=v2
[Test/Lint: PHP 7.0-3                       ]   cloning https://github.com/shivammathur/setup-php to /home/matt/.cache/act/shivammathur-setup-php@v2
[Test/Lint: PHP 8.1-6                       ] Cloned https://github.com/shivammathur/setup-php to /home/matt/.cache/act/shivammathur-setup-php@v2
[Test/Lint: PHP 8.1-6                       ] Checked out v2
[Test/Lint: PHP 8.1-6                       ]   🐳  docker cp src=/home/matt/.cache/act/shivammathur-setup-php@v2 dst=/actions/
[Test/Lint: PHP 8.1-6                       ] Exec command '[mkdir -p /actions/]'
[Test/Lint: PHP 8.1-6                       ] Extracting content from '/tmp/act178793180' to '/actions/'
[Test/Lint: PHP 8.1-6                       ] Exec command '[node /actions/shivammathur-setup-php@v2/dist/index.js]'
[Test/Lint: PHP 8.1-6                       ]   ❗  ::error::ENOENT: no such file or directory, open '/opt/hostedtoolcache/linux.sh'
[Test/Lint: PHP 8.1-6                       ]   ❌  Failure - Install PHP

Additional context
I don't think there's much additional information I can provide beyond what I've enclosed above. However, if there's any way I can help to diagnose this problem further, please let me know.

Are you willing to submit a PR?
Yes, though I will require some direction about the source of the problem and how to address it first.

@elazar elazar added the bug Something isn't working label Jan 18, 2021
@shivammathur
Copy link
Owner

@elazar As you are using ubuntu-latest in your workflow, try

act -P ubuntu-latest=shivammathur/node:latest -vvv -j test

Ref: https://github.com/shivammathur/setup-php#local-testing-setup

@elazar
Copy link
Author

elazar commented Jan 18, 2021

@shivammathur Ah, thank you! Sorry, I probably should've noticed that myself.

Once I addressed that, I ran into the error below, but was able to get past it by removing 5.4 from my workflow. Out of curiosity, why is 5.4 not supported when using a self-hosted runner?

[Test/Lint: PHP 5.4-1                       ] Cloned https://github.com/shivammathur/setup-php to /home/matt/.cache/act/shivammathur-setup-php@v2
[Test/Lint: PHP 5.4-1                       ] Checked out v2
DEBU[0020] Read action &{Setup PHP Action shivammathur GitHub Action for PHP map[coverage:{Setup code coverage driver. false } extensions:{Setup PHP extensions. false } ini-values:{Add values to php.ini. false } php-version:{Setup PHP version. true 8.0} tools:{Setup popular tools globally. false }] map[] {node12 map[] dist/index.js  [] []} {purple play-circle}} from '/home/matt/.cache/act/shivammathur-setup-php@v2/action.yml' 
DEBU[0020] About to run action &{Setup PHP Action shivammathur GitHub Action for PHP map[coverage:{Setup code coverage driver. false } extensions:{Setup PHP extensions. false } ini-values:{Add values to php.ini. false } php-version:{Setup PHP version. true 8.0} tools:{Setup popular tools globally. false }] map[] {node12 map[] dist/index.js  [] []} {purple play-circle}} 
DEBU[0020] type=3 actionDir=/home/matt/.cache/act/shivammathur-setup-php@v2 actionPath= Workdir=/home/matt/Code/Personal/PHPCompatibility ActionCacheDir=/home/matt/.cache/act actionName=shivammathur-setup-php@v2 containerActionDir=/actions 
DEBU[0020] Removing /home/matt/.cache/act/shivammathur-setup-php@v2/.gitignore before docker cp 
[Test/Lint: PHP 5.4-1                       ]   🐳  docker cp src=/home/matt/.cache/act/shivammathur-setup-php@v2 dst=/actions/
[Test/Lint: PHP 5.4-1                       ] Exec command '[mkdir -p /actions/]'
DEBU[0021] Writing tarball /tmp/act275653823 from /home/matt/.cache/act/shivammathur-setup-php@v2 
DEBU[0021] Stripping prefix:/home/matt/.cache/act/ src:/home/matt/.cache/act/shivammathur-setup-php@v2 
[Test/Lint: PHP 5.4-1                       ] Extracting content from '/tmp/act275653823' to '/actions/'
DEBU[0021] executing remote job container: [node /actions/shivammathur-setup-php@v2/dist/index.js] 
[Test/Lint: PHP 5.4-1                       ] Exec command '[node /actions/shivammathur-setup-php@v2/dist/index.js]'
| [command]/bin/bash /opt/hostedtoolcache/linux.sh 5.4 /actions/shivammathur-setup-php@v2/dist
| ✗ PHP PHP 5.4 is not supported on self-hosted runner
[Test/Lint: PHP 5.4-1                       ]   ❗  ::error::The process '/bin/bash' failed with exit code 1
[Test/Lint: PHP 5.4-1                       ]   ❌  Failure - Install PHP

It appears this applies to 5.5 as well?

[Test/Test: PHP 5.5 - PHPCS 2.6.0-1         ] Cloned https://github.com/shivammathur/setup-php to /home/matt/.cache/act/shivammathur-setup-php@v2
[Test/Test: PHP 5.5 - PHPCS 2.6.0-1         ] Checked out v2
DEBU[0171] Read action &{Setup PHP Action shivammathur GitHub Action for PHP map[coverage:{Setup code coverage driver. false } extensions:{Setup PHP extensions. false } ini-values:{Add values to php.ini. false } php-version:{Setup PHP version. true 8.0} tools:{Setup popular tools globally. false }] map[] {node12 map[] dist/index.js  [] []} {purple play-circle}} from '/home/matt/.cache/act/shivammathur-setup-php@v2/action.yml' 
DEBU[0171] About to run action &{Setup PHP Action shivammathur GitHub Action for PHP map[coverage:{Setup code coverage driver. false } extensions:{Setup PHP extensions. false } ini-values:{Add values to php.ini. false } php-version:{Setup PHP version. true 8.0} tools:{Setup popular tools globally. false }] map[] {node12 map[] dist/index.js  [] []} {purple play-circle}} 
DEBU[0171] type=3 actionDir=/home/matt/.cache/act/shivammathur-setup-php@v2 actionPath= Workdir=/home/matt/Code/Personal/PHPCompatibility ActionCacheDir=/home/matt/.cache/act actionName=shivammathur-setup-php@v2 containerActionDir=/actions 
DEBU[0171] Removing /home/matt/.cache/act/shivammathur-setup-php@v2/.gitignore before docker cp 
[Test/Test: PHP 5.5 - PHPCS 2.6.0-1         ]   🐳  docker cp src=/home/matt/.cache/act/shivammathur-setup-php@v2 dst=/actions/
[Test/Test: PHP 5.5 - PHPCS 2.6.0-1         ] Exec command '[mkdir -p /actions/]'
DEBU[0171] Writing tarball /tmp/act726353404 from /home/matt/.cache/act/shivammathur-setup-php@v2 
DEBU[0171] Stripping prefix:/home/matt/.cache/act/ src:/home/matt/.cache/act/shivammathur-setup-php@v2 
[Test/Test: PHP 5.5 - PHPCS 2.6.0-1         ] Extracting content from '/tmp/act726353404' to '/actions/'
DEBU[0171] executing remote job container: [node /actions/shivammathur-setup-php@v2/dist/index.js] 
[Test/Test: PHP 5.5 - PHPCS 2.6.0-1         ] Exec command '[node /actions/shivammathur-setup-php@v2/dist/index.js]'
| [command]/bin/bash /opt/hostedtoolcache/linux.sh 5.5 /actions/shivammathur-setup-php@v2/dist
| ✗ PHP PHP 5.5 is not supported on self-hosted runner
[Test/Test: PHP 5.5 - PHPCS 2.6.0-1         ]   ❗  ::error::The process '/bin/bash' failed with exit code 1
[Test/Test: PHP 5.5 - PHPCS 2.6.0-1         ]   ❌  Failure - Install PHP

@shivammathur
Copy link
Owner

Yes, I had disabled PHP 5.5 and lower on self-hosted runners as those versions are potentially insecure.

May be in future, I should look to enable them while using act as that runs in docker containers.

@shivammathur shivammathur added workflow-edit Issue can be fixed by editing the GitHub Action workflow and removed bug Something isn't working labels Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workflow-edit Issue can be fixed by editing the GitHub Action workflow
Projects
None yet
Development

No branches or pull requests

2 participants