-
Notifications
You must be signed in to change notification settings - Fork 146
Comparing changes
Open a pull request
base repository: paragonie/random_compat
base: v2.0.20
head repository: paragonie/random_compat
compare: master
Commits on Jun 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9a08bcd - Browse repository at this point
Copy the full SHA 9a08bcdView commit details
Commits on Aug 8, 2021
-
GH Actions: ubuntu-16.04 is no longer supported
... use `ubuntu-18.04` or `ubuntu-latest` for `20.04` instead. Also see: * https://ubuntu.com/blog/ubuntu-16-04-lts-transitions-to-extended-security-maintenance-esm * shivammathur/setup-php#452
Configuration menu - View commit details
-
Copy full SHA for 76d27d0 - Browse repository at this point
Copy the full SHA 76d27d0View commit details -
GH Actions: explicitly set code coverage to none
As no code coverage is being recorded for these builds, it is good practice to explicitly set `coverage: none` in `setup-php`. This fixes a warning on PHP 5.3 stating that Xdebug is on.
Configuration menu - View commit details
-
Copy full SHA for e386675 - Browse repository at this point
Copy the full SHA e386675View commit details -
GH Actions: enable Composer caching
... by using the `ramsey/composer-install` action. This means that the Composer downloads directory for dependencies will be cached and restored on each build. This conserves resources and should also make builds faster. Ref: https://github.com/marketplace/actions/install-composer-dependencies
Configuration menu - View commit details
-
Copy full SHA for 6ab88bd - Browse repository at this point
Copy the full SHA 6ab88bdView commit details -
GH Actions: split off Psalm to separate workflow
Psalm does not need to be run against multiple PHP versions. Running it once should be enough. With that in mind, this commit: * Introduces a separate, dedicated workflow which only installs and runs Psalm. * Removes the Psalm related steps from the `CI` workflow. * Removes Psalm from the `tools` setting for `setup-php`.
Configuration menu - View commit details
-
Copy full SHA for 64256a0 - Browse repository at this point
Copy the full SHA 64256a0View commit details -
GH Actions: clean up running of the tests
In contrast to Sodium Compat, the tests for this package _were_ running on the low PHP versions. However, the point remains that PHPUnit was being installed 3 (!) times, once via the `setup-php` action, once via the `composer install` and once via the `php-actions/phpunit` action. This simplifies the script and ensures that the tests are always run against the most appropriate PHPUnit version for the PHP version against which the tests are being run, by: * Remove the installing of PHPUnit via `setup-php`. * Remove the use of the `php-actions/phpunit` action. * Defer to the Composer installed PHPUnit version in all cases. I'm also removing the explicit ini settings for the jobs. These look like they were copied over from example code, but these values don't have any effect on the test runs in these workflows, so may as well be removed.
Configuration menu - View commit details
-
Copy full SHA for d0bbad2 - Browse repository at this point
Copy the full SHA d0bbad2View commit details -
GH Actions: merge "moderate" and "modern" jobs
As there is now effectively no difference anymore between the `moderate` and `modern` jobs, these jobs can now be merged into one.
Configuration menu - View commit details
-
Copy full SHA for 71c5eb7 - Browse repository at this point
Copy the full SHA 71c5eb7View commit details -
GH Actions: set error reporting to E_ALL
The default setting for `error_reporting` used by the SetupPHP action is `error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT` and `display_errors` is set to `Off`. For the purposes of CI, I'd recommend running with `E_ALL` and `display_errors=On` to ensure **all** PHP notices are shown. Ref: shivammathur/setup-php#469
Configuration menu - View commit details
-
Copy full SHA for c84f7b7 - Browse repository at this point
Copy the full SHA c84f7b7View commit details -
GH Actions: enable testing against PHP 8.1
For now, this build is still allowed to fail.
Configuration menu - View commit details
-
Copy full SHA for 8100036 - Browse repository at this point
Copy the full SHA 8100036View commit details -
Merge pull request #172 from jrfnl/feature/ghactions-fix-it
GH Actions: run tests against PHP 8.1 and other tweaks
Configuration menu - View commit details
-
Copy full SHA for 73f1f02 - Browse repository at this point
Copy the full SHA 73f1f02View commit details -
Merge pull request #171 from williamdes/master
Update .gitattributes
Configuration menu - View commit details
-
Copy full SHA for 32e99a1 - Browse repository at this point
Copy the full SHA 32e99a1View commit details
Commits on Sep 25, 2021
-
PHPUnit just released version 9.5.10 and 8.5.21. This contains a particular (IMO breaking) change: > * PHPUnit no longer converts PHP deprecations to exceptions by default (configure `convertDeprecationsToExceptions="true"` to enable this) Let's unpack this: Previously (PHPUnit < 9.5.10/8.5.21), if PHPUnit would encounter a PHP native deprecation notice, it would: 1. Show a test which causes a deprecation notice to be thrown as **"errored"**, 2. Show the **first** deprecation notice it encountered and 3. PHPUnit would exit with a **non-0 exit code** (2), which will fail a CI build. As of PHPUnit 9.5.10/8.5.21, if PHPUnit encounters a PHP native deprecation notice, it will no longer do so. Instead PHPUnit will: 1. Show a test which causes a PHP deprecation notice to be thrown as **"risky"**, 2. Show the **all** deprecation notices it encountered and 3. PHPUnit will exit with a **0 exit code**, which will show a CI build as passing. This commit reverts PHPUnit to the previous behaviour by adding `convertDeprecationsToExceptions="true"` to the PHPUnit configuration. Refs: * https://github.com/sebastianbergmann/phpunit/blob/9.5/ChangeLog-8.5.md * https://github.com/sebastianbergmann/phpunit/blob/9.5/ChangeLog-9.5.md
Configuration menu - View commit details
-
Copy full SHA for 0c1394f - Browse repository at this point
Copy the full SHA 0c1394fView commit details
Commits on Oct 4, 2021
-
Merge pull request #173 from jrfnl/feature/phpunit-update-config
PHPUnit: update configuration
Configuration menu - View commit details
-
Copy full SHA for cba4096 - Browse repository at this point
Copy the full SHA cba4096View commit details
Commits on Dec 25, 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 4cd8bc7 - Browse repository at this point
Copy the full SHA 4cd8bc7View commit details
Commits on Jan 17, 2022
-
Merge pull request #174 from jrfnl/feature/ghactions-update-composer-…
…action GH Actions: version update for `ramsey/composer-install`
Configuration menu - View commit details
-
Copy full SHA for 9174875 - Browse repository at this point
Copy the full SHA 9174875View commit details
Commits on Feb 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 76dbb53 - Browse repository at this point
Copy the full SHA 76dbb53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4958521 - Browse repository at this point
Copy the full SHA 4958521View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96c132c - Browse repository at this point
Copy the full SHA 96c132cView commit details
Commits on Mar 5, 2022
-
GH Actions: version update for various predefined actions
A number of predefined actions have had major release, which warrant an update to the workflow(s). These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node 16). Refs: * https://github.com/actions/checkout/releases
Configuration menu - View commit details
-
Copy full SHA for a0ef17f - Browse repository at this point
Copy the full SHA a0ef17fView commit details
Commits on Mar 22, 2022
-
Merge pull request #177 from jrfnl/feature/ghactions-update-various-a…
…ctions GH Actions: version update for various predefined actions
Configuration menu - View commit details
-
Copy full SHA for 23ba782 - Browse repository at this point
Copy the full SHA 23ba782View commit details
Commits on Jun 19, 2022
-
GH Actions: run tests against PHP 8.2
The first alpha of PHP 8.2 was released nearly two weeks ago, so let's start testing against PHP 8.2 Notes: * Test runs again PHP 8.1 were still marked as "allowed to fail". This has been changed to allow PHP 8.2 to fail, but no longer allow failures for PHP 8.1.
Configuration menu - View commit details
-
Copy full SHA for e5f04a4 - Browse repository at this point
Copy the full SHA e5f04a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 990580f - Browse repository at this point
Copy the full SHA 990580fView commit details -
Merge pull request #180 from jrfnl/feature/ghactions-run-tests-agains…
…t-php-8.2 GH Actions: run tests against PHP 8.2
Configuration menu - View commit details
-
Copy full SHA for 4957160 - Browse repository at this point
Copy the full SHA 4957160View commit details -
Merge pull request #179 from jrfnl/feature/fix-psalm-configuration
Psalm: fix configuration
Configuration menu - View commit details
-
Copy full SHA for 64f3265 - Browse repository at this point
Copy the full SHA 64f3265View commit details
Commits on Sep 9, 2024
-
GH Actions: update PHP versions in workflows
PHP 8.2 and 8.3 have been released quite a while ago and PHP 8.4 is expected towards end of November, so adding PHP 8.3 and 8.4 to the matrix and no longer allowing PHP 8.2 or 8.3 to fail the build. Builds against PHP 8.4 are still allowed to fail for now.
Configuration menu - View commit details
-
Copy full SHA for 5c150cb - Browse repository at this point
Copy the full SHA 5c150cbView commit details -
GH Actions: update the actions/checkout action runner
The v3 version still uses Node 16, while GHA will stop supporting that soonish. Using v4 fixes that.
Configuration menu - View commit details
-
Copy full SHA for 5112281 - Browse repository at this point
Copy the full SHA 5112281View commit details -
GH Actions: update the ramsey/composer-install action runner
The v2 version still uses Node 16, while GHA will stop supporting that soonish. Using v3 fixes that.
Configuration menu - View commit details
-
Copy full SHA for 0d047e6 - Browse repository at this point
Copy the full SHA 0d047e6View commit details
Commits on Sep 10, 2024
-
Merge pull request #185 from jrfnl/feature/ghactions-tweak-php-versions
GH Actions: update PHP versions in workflows
Configuration menu - View commit details
-
Copy full SHA for bf95de2 - Browse repository at this point
Copy the full SHA bf95de2View commit details
There are no files selected for viewing