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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: various updates #140
Merged
Merged
CI: various updates #140
Commits on Dec 23, 2021
-
PHPCS 3.6.2 added a sniff for a PSR-12 rule which was previously not strictly checked: "No blank line after the opening brace of a class". This fixes the newly flagged issues.
Configuration menu - View commit details
-
Copy full SHA for 30ad14e - Browse repository at this point
Copy the full SHA 30ad14eView commit details -
GH Actions: auto-cancel previous builds for same branch
Previously, in Travis, when the same branch was pushed again and the "Auto cancellation" option on the "Settings" page had been turned on (as it was for most repos), any still running builds for the same branch would be stopped in favour of starting the build for the newly pushed version of the branch. To enable this behaviour in GH Actions, a `concurrency` configuration needs to be added to each workflow for which this should applied to. More than anything, this is a way to be kind to GitHub by not wasting resources which they so kindly provide to us for free. Refs: * https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/ * https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#concurrency
Configuration menu - View commit details
-
Copy full SHA for b45ff19 - Browse repository at this point
Copy the full SHA b45ff19View commit details -
GH Actions: use
error_reporting=-1
... as `E_ALL` does not always contain _all_ errors across PHP versions.
Configuration menu - View commit details
-
Copy full SHA for 46253b7 - Browse repository at this point
Copy the full SHA 46253b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bf33a9 - Browse repository at this point
Copy the full SHA 4bf33a9View commit details
Commits on Dec 24, 2021
-
GH Actions: version update for
ramsey/composer-install
The action used to install Composer packages and handle the caching has released a new major (and some follow-up patch releases), which means, the action reference needs to be updated to benefit from it. Refs: * https://github.com/ramsey/composer-install/releases/tag/2.0.0 * https://github.com/ramsey/composer-install/releases/tag/2.0.1 * https://github.com/ramsey/composer-install/releases/tag/2.0.2
Configuration menu - View commit details
-
Copy full SHA for 32892d6 - Browse repository at this point
Copy the full SHA 32892d6View commit details -
GH Actions: always use --no-interaction for Composer
Adding `--no-interaction` to "plain" Composer commands to potentially prevent CI hanging if, for whatever reason, interaction would be needed in the future.
Configuration menu - View commit details
-
Copy full SHA for 33f29dd - Browse repository at this point
Copy the full SHA 33f29ddView commit details
Commits on Dec 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1a4405e - Browse repository at this point
Copy the full SHA 1a4405eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.