We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to run composer commands, and using shivammathur/setup-php@2.1.4 to prepare the test.
shivammathur/setup-php@2.1.4
Here's the script I use in .github/workflows
.github/workflows
name: PHP Composer on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@2.1.4 with: php-version: 7.3 coverage: none # disable xdebug, pcov extensions: "intl" - name: Validate composer.json and composer.lock run: composer validate - name: Install dependencies run: composer install --prefer-dist --no-progress --no-suggest # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" # Docs: https://getcomposer.org/doc/articles/scripts.md # - name: Run test suite # run: composer run-script test
When running act -j build -vvv, I'm getting this error which I do not understand:
act -j build -vvv
DEBU[0000] Loading workflows from '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.github/workflows' DEBU[0000] Reading workflow '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.github/workflows/drupal_rector.yaml' DEBU[0000] Reading workflow '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.github/workflows/drupal_rector_06__success.yaml' DEBU[0000] Reading workflow '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.github/workflows/drupal_rector_07__fail.yaml' DEBU[0000] Reading workflow '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.github/workflows/github_test.yml' DEBU[0000] Reading workflow '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.github/workflows/php.yml' DEBU[0000] Using detected workflow event: pull_request DEBU[0000] Planning job: build DEBU[0000] Loading slug from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0000] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0000] Loading revision from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0000] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0000] HEAD points to 'dc9240812a68ad9a5f070d678e2a1e2e647b9575' DEBU[0000] HEAD matches refs/heads/del-temp DEBU[0000] using github ref: refs/heads/del-temp [PHP Composer/build] 🚀 Start image=node:12.6-buster-slim DEBU[0000] Loading slug from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0000] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0000] Loading revision from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0000] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0000] HEAD points to 'dc9240812a68ad9a5f070d678e2a1e2e647b9575' DEBU[0000] HEAD matches refs/heads/del-temp DEBU[0000] using github ref: refs/heads/del-temp [PHP Composer/build] 🐳 docker pull node:12.6-buster-slim DEBU[0000] Image exists? true [PHP Composer/build] Removed container: 8c0eb8a87c1a7c43355db0d6dfa8c725fc682c4a4fafcd4f8f9bc30fff11d822 [PHP Composer/build] 🐳 docker create image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [PHP Composer/build] Created container name=act-PHP-Composer-build id=b67895a64ed9f7f6ec22a37c4cea297876099fab358ef7cdf1532271dc8bef8d from image node:12.6-buster-slim [PHP Composer/build] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache] [PHP Composer/build] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [PHP Composer/build] Starting container: b67895a64ed9f7f6ec22a37c4cea297876099fab358ef7cdf1532271dc8bef8d [PHP Composer/build] Started container: b67895a64ed9f7f6ec22a37c4cea297876099fab358ef7cdf1532271dc8bef8d [PHP Composer/build] 🐳 docker cp src=/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/. dst=/github/workspace [PHP Composer/build] Exec command '[mkdir -p /github/workspace]' DEBU[0000] Writing tarball /var/folders/fv/nfq96m1x2m90rsnlxz9_g0gw0000gn/T/act521174908 from /Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/. DEBU[0000] Stripping prefix:/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/ src:/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/. [PHP Composer/build] Extracting content from '/var/folders/fv/nfq96m1x2m90rsnlxz9_g0gw0000gn/T/act521174908' to '/github/workspace' DEBU[0002] Writing entry to tarball workflow/event.json len:2 DEBU[0002] Writing entry to tarball home/.act len:0 [PHP Composer/build] Extracting content to '/github/' DEBU[0002] Loading slug from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] Loading revision from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] HEAD points to 'dc9240812a68ad9a5f070d678e2a1e2e647b9575' DEBU[0002] HEAD matches refs/heads/del-temp DEBU[0002] using github ref: refs/heads/del-temp DEBU[0002] setupEnv => map[GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_REF:refs/heads/del-temp GITHUB_REPOSITORY:palantirnet/drupal-rector GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SHA:dc9240812a68ad9a5f070d678e2a1e2e647b9575 GITHUB_TOKEN: GITHUB_WORKFLOW:PHP Composer GITHUB_WORKSPACE:/github/workspace HOME:/github/home] DEBU[0002] Loading slug from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] Loading revision from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] HEAD points to 'dc9240812a68ad9a5f070d678e2a1e2e647b9575' DEBU[0002] HEAD matches refs/heads/del-temp DEBU[0002] using github ref: refs/heads/del-temp DEBU[0002] context env => map[GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_REF:refs/heads/del-temp GITHUB_REPOSITORY:palantirnet/drupal-rector GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SHA:dc9240812a68ad9a5f070d678e2a1e2e647b9575 GITHUB_TOKEN: GITHUB_WORKFLOW:PHP Composer GITHUB_WORKSPACE:/github/workspace HOME:/github/home] [PHP Composer/build] ⭐ Run actions/checkout@v2 DEBU[0002] Loading slug from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] Loading revision from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] HEAD points to 'dc9240812a68ad9a5f070d678e2a1e2e647b9575' DEBU[0002] HEAD matches refs/heads/del-temp DEBU[0002] using github ref: refs/heads/del-temp [PHP Composer/build] Skipping actions/checkout [PHP Composer/build] ✅ Success - actions/checkout@v2 DEBU[0002] Loading slug from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] Loading revision from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] HEAD points to 'dc9240812a68ad9a5f070d678e2a1e2e647b9575' DEBU[0002] HEAD matches refs/heads/del-temp DEBU[0002] using github ref: refs/heads/del-temp DEBU[0002] setupEnv => map[GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_REF:refs/heads/del-temp GITHUB_REPOSITORY:palantirnet/drupal-rector GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SHA:dc9240812a68ad9a5f070d678e2a1e2e647b9575 GITHUB_TOKEN: GITHUB_WORKFLOW:PHP Composer GITHUB_WORKSPACE:/github/workspace HOME:/github/home INPUT_COVERAGE:none INPUT_EXTENSIONS:intl INPUT_PHP-VERSION:7.3] DEBU[0002] Loading slug from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] Loading revision from git directory '/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector/.git' DEBU[0002] Found revision: dc9240812a68ad9a5f070d678e2a1e2e647b9575 DEBU[0002] HEAD points to 'dc9240812a68ad9a5f070d678e2a1e2e647b9575' DEBU[0002] HEAD matches refs/heads/del-temp DEBU[0002] using github ref: refs/heads/del-temp DEBU[0002] context env => map[GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/github/workflow/event.json GITHUB_REF:refs/heads/del-temp GITHUB_REPOSITORY:palantirnet/drupal-rector GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SHA:dc9240812a68ad9a5f070d678e2a1e2e647b9575 GITHUB_TOKEN: GITHUB_WORKFLOW:PHP Composer GITHUB_WORKSPACE:/github/workspace HOME:/github/home INPUT_COVERAGE:none INPUT_EXTENSIONS:intl INPUT_PHP-VERSION:7.3] [PHP Composer/build] ⭐ Run shivammathur/setup-php@2.1.4 [PHP Composer/build] ☁ git clone 'https://github.com/shivammathur/setup-php' # ref=2.1.4 [PHP Composer/build] cloning https://github.com/shivammathur/setup-php to /Users/shaal/.cache/act/shivammathur-setup-php@2.1.4 [PHP Composer/build] Cloned https://github.com/shivammathur/setup-php to /Users/shaal/.cache/act/shivammathur-setup-php@2.1.4 [PHP Composer/build] Checked out 2.1.4 DEBU[0002] Read action &{Setup PHP Action shivammathur Setup PHP with required extensions, php.ini configuration, code-coverage support and various tools like composer 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 7.4} tools:{Setup popular tools globally. false }] map[] {node12 map[] dist/index.js [] []} {purple play-circle}} from '/Users/shaal/.cache/act/shivammathur-setup-php@2.1.4/action.yml' DEBU[0002] About to run action &{Setup PHP Action shivammathur Setup PHP with required extensions, php.ini configuration, code-coverage support and various tools like composer 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 7.4} tools:{Setup popular tools globally. false }] map[] {node12 map[] dist/index.js [] []} {purple play-circle}} DEBU[0002] type=3 actionDir=/Users/shaal/.cache/act/shivammathur-setup-php@2.1.4 Workdir=/Users/shaal/code/palantir/drupal-rector-sandbox/drupal-rector ActionCacheDir=/Users/shaal/.cache/act actionName=shivammathur-setup-php@2.1.4 containerActionDir=/actions [PHP Composer/build] 🐳 docker cp src=/Users/shaal/.cache/act/shivammathur-setup-php@2.1.4 dst=/actions/ [PHP Composer/build] Exec command '[mkdir -p /actions/]' DEBU[0002] Writing tarball /var/folders/fv/nfq96m1x2m90rsnlxz9_g0gw0000gn/T/act012162069 from /Users/shaal/.cache/act/shivammathur-setup-php@2.1.4 DEBU[0002] Stripping prefix:/Users/shaal/.cache/act/ src:/Users/shaal/.cache/act/shivammathur-setup-php@2.1.4 [PHP Composer/build] Extracting content from '/var/folders/fv/nfq96m1x2m90rsnlxz9_g0gw0000gn/T/act012162069' to '/actions/' [PHP Composer/build] Exec command '[node /actions/shivammathur-setup-php@2.1.4/dist/index.js]' [PHP Composer/build] ❗ ::error::ENOENT: no such file or directory, open '/opt/hostedtoolcache/linux.sh' [PHP Composer/build] ❌ Failure - shivammathur/setup-php@2.1.4 DEBU[0003] exit with `FAILURE`: 1 DEBU[0003] exit with `FAILURE`: 1 DEBU[0003] exit with `FAILURE`: 1 Error: exit with `FAILURE`: 1
The text was updated successfully, but these errors were encountered:
dup #107
Sorry, something went wrong.
@shaal After 2.2.0 release setup-php works with nekos/act for ubuntu workflows. Refer to the docs here.
setup-php
nekos/act
No branches or pull requests
I am trying to run composer commands, and using
shivammathur/setup-php@2.1.4
to prepare the test.Here's the script I use in
.github/workflows
When running
act -j build -vvv
, I'm getting this error which I do not understand:The text was updated successfully, but these errors were encountered: