-
Notifications
You must be signed in to change notification settings - Fork 356
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
Backport CI changes to 5.x.x branch #672
Conversation
Switch to GH Actions
… right class (JsonSchema\Constraints\Constraint instead of JsonSchema\Constraints\BaseConstraint). Closes jsonrainbow#654 (jsonrainbow#655) Co-authored-by: Emmanuel GUITON <[email protected]> Co-authored-by: Jordi Boggiano <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to time passing this should now be v4
uses: "actions/checkout@v2" | |
uses: "actions/checkout@v4" |
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: "actions/checkout@v2" | |
uses: "actions/checkout@v4" |
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: "actions/checkout@v2" | |
uses: "actions/checkout@v4" |
|
||
- name: Run PHPStan | ||
run: | | ||
composer require --dev phpstan/phpstan:^0.12.93 marc-mabe/php-enum-phpstan ${{ env.COMPOSER_FLAGS }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
composer require --dev phpstan/phpstan:^0.12.93 marc-mabe/php-enum-phpstan ${{ env.COMPOSER_FLAGS }} | |
composer require --dev phpstan/phpstan:^1.5 marc-mabe/php-enum-phpstan ${{ env.COMPOSER_FLAGS }} |
In cd8ec4f you've updated to version 1.5 of PHPStan
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: "actions/checkout@v2" | |
uses: "actions/checkout@v4" |
@@ -1,6 +1,6 @@ | |||
# JSON Schema for PHP | |||
|
|||
[![Build Status](https://travis-ci.org/justinrainbow/json-schema.svg?branch=master)](https://travis-ci.org/justinrainbow/json-schema) | |||
[![Build Status](https://github.com/justinrainbow/json-schema/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/justinrainbow/json-schema/actions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[![Build Status](https://github.com/justinrainbow/json-schema/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/justinrainbow/json-schema/actions) | |
[![Build Status](https://github.com/jsonrainbow/json-schema/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/jsonrainbow/json-schema/actions) |
@@ -20,10 +20,10 @@ | |||
'phpdoc_no_package' => false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to make this update date from the current master should we also port 19ed8ac in?
Hey tbh i think I'd bury this PR as well as v5.. Focus on moving forward. Once v6 is out there's no reason to keep using v5 imo |
Closing as per author indication which I helps with the focus for v6.0.0 |
Backports: