Skip to content

[GitHub Actions] Use --trust-gpg-keys option and remove --global option for phpDocumentor installation #7834

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

Merged

Conversation

takano32
Copy link
Contributor

@takano32 takano32 commented Aug 17, 2023

fixes #7821

Description
Use --trust-gpg-keys option and remove --global option for phive install

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

ref. #7832, #7833

Use `--trust-gpg-keys` option and remove `--global` option for `phive install`
@takano32 takano32 changed the title Use --trust-gpg-keys option and remove --global option to install phpDocumentor [GitHub Actions] Use --trust-gpg-keys option and remove --global option to install phpDocumentor Aug 17, 2023
@takano32 takano32 changed the title [GitHub Actions] Use --trust-gpg-keys option and remove --global option to install phpDocumentor [GitHub Actions] Use --trust-gpg-keys option and remove --global option for phpDocumentor installation Aug 17, 2023
@kenjis kenjis added the github_actions Pull requests that update Github_actions code label Aug 17, 2023
@kenjis kenjis merged commit c20c43a into codeigniter4:develop Aug 17, 2023
@takano32 takano32 deleted the fix-phive-gpg-trust-keys-option branch August 17, 2023 09:14
@kenjis
Copy link
Member

kenjis commented Aug 17, 2023

Unfortunately failed again.

Run php tools/phpDocumentor run --ansi --verbose
Composer detected issues in your platform:

Your Composer dependencies require a PHP version ">= 8.1.0". You are running 8.0.29.

PHP Fatal error:  Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 8.0.29. in phar:///home/runner/.phive/phars/phpdocumentor-3.4.0.phar/vendor/composer/platform_check.php on line 24
Error: Process completed with exit code 255.

https://github.com/codeigniter4/CodeIgniter4/actions/runs/5889034105/job/15971401987

@kenjis
Copy link
Member

kenjis commented Aug 17, 2023

@takano32 Could you please change php-version to 8.1?

@takano32
Copy link
Contributor Author

@kenjis OK. I'll PR. 👍

--
Latest phpDocumentor drops PHP 8.0 support...

https://github.com/phpDocumentor/phpDocumentor/releases/tag/v3.4.0
Screen Shot 2023-08-17 at 18 18 43

@takano32
Copy link
Contributor Author

@kenjis Sorry for many PRs.

Here it is. #7835

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dev: Deploy to api fails
2 participants