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

Improve QA workflow #46

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Improve QA workflow #46

merged 2 commits into from
Oct 29, 2024

Conversation

szepeviktor
Copy link
Contributor

@szepeviktor szepeviktor commented Oct 16, 2024

Please see comments below.

@@ -5,7 +5,7 @@ jobs:
strategy:
matrix:
php: [ '8.1', '8.2', '8.3' ]
lowest: [ '0','1' ]
dependencies: [ highest, lowest ]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Display meaningful words in workflow run titles, no more binary code.

@@ -16,21 +16,20 @@ jobs:
php-version: ${{ matrix.php }}
extensions: mbstring, intl
coverage: xdebug
tools: composer:v2
Copy link
Contributor Author

@szepeviktor szepeviktor Oct 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Composer v2 is the default for years.

env:
COMPOSER_PREFER_LOWEST: ${{ matrix.lowest }}
PHING_VERSION: '3.0.0'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrade Phing.

COMPOSER_PREFER_LOWEST: ${{ matrix.lowest }}
PHING_VERSION: '3.0.0'
run: |
mkdir -p ~/.local/bin
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already on PATH.
actions/runner-images#2491

Comment on lines -32 to -33
- name: Composer install
run: bin/phing composer:install
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

phing composer:install did nothing at all

@jawira jawira self-requested a review October 29, 2024 17:52
@jawira
Copy link
Owner

jawira commented Oct 29, 2024

Hi, I will accept your PR and make some changes later.
Thank you for your contribution :)

@jawira jawira merged commit e33fbc5 into jawira:main Oct 29, 2024
6 checks passed
@szepeviktor szepeviktor deleted the patch-1 branch October 29, 2024 18:12
@szepeviktor
Copy link
Contributor Author

Glad to contribute.

@szepeviktor
Copy link
Contributor Author

@jawira This is your go-to solution.

  1. high code quality
  2. shell script only
  3. includes caching

https://github.com/ramsey/composer-install

@jawira
Copy link
Owner

jawira commented Oct 30, 2024

@szepeviktor I followed your suggestions and improved pipelines even more. Thanks! :)

@szepeviktor
Copy link
Contributor Author

You're welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants