72 Commits

Author SHA1 Message Date
Grégoire Paris
ee03546d1d Merge pull request #80 from doctrine/dependabot/github_actions/actions/upload-artifact-7
Bump actions/upload-artifact from 6 to 7
2026-03-16 08:06:30 +00:00
Grégoire Paris
04689341f2 Merge pull request #81 from doctrine/dependabot/github_actions/actions/download-artifact-8
Bump actions/download-artifact from 7 to 8
2026-03-16 08:06:10 +00:00
dependabot[bot]
3bc01ada69 Bump ramsey/composer-install from 3 to 4
Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 3 to 4.
- [Release notes](https://github.com/ramsey/composer-install/releases)
- [Commits](https://github.com/ramsey/composer-install/compare/v3...v4)

---
updated-dependencies:
- dependency-name: ramsey/composer-install
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 03:43:52 +00:00
dependabot[bot]
0af30c674f Bump actions/download-artifact from 7 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 03:44:23 +00:00
dependabot[bot]
b7840f46ac Bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 03:44:18 +00:00
Alexander M. Turek
3fea8048ab Merge pull request #78 from doctrine/dependabot/github_actions/actions/upload-artifact-6 2025-12-15 07:57:50 +01:00
dependabot[bot]
2d83b2aa84 Bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 03:07:57 +00:00
dependabot[bot]
a1e660c6b5 Bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 03:07:54 +00:00
dependabot[bot]
2b6a441ee6 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 03:27:59 +00:00
Alexander M. Turek
371e87f4a6 Bump workflows to PHP 8.5 2025-11-23 15:35:12 +01:00
Claudio Zizza
af54604771 Set php version to the same as website 2025-10-30 00:02:02 +01:00
Grégoire Paris
adc2801045 Merge pull request #73 from doctrine/dependabot/github_actions/actions/upload-artifact-5
Bump actions/upload-artifact from 4 to 5
2025-10-27 08:38:46 +01:00
dependabot[bot]
0e365ea60d Bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 03:18:27 +00:00
dependabot[bot]
0a660bbc34 Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 03:18:25 +00:00
Jérôme Tamarelle
ffb01270a1 Add phpunit-options 2025-10-21 22:33:34 +02:00
Gregoire PARIS
b41495fdf6 Fix version checking
I intended to exclude e.g. 11.5.28 but failed to do so because it is
greater than 10.5.49.
Let us instead just check against 10.0.0: if the upgrade fails, it
should be easy to fix it by requiring the correct patch version.
2025-10-13 13:31:08 +02:00
Grégoire Paris
4a7d4aaf03 Assume documentation composer.json is already present
We want developers to be able to able to generate docs as well. This
means the docs directory should already contain a composer.json for them
to use.
2025-10-12 17:59:47 +02:00
Grégoire Paris
6206d2f204 Configure working-directory properly
Unless we specify the working directory, composer will install
dependencies for the project in the root directory.
2025-10-12 17:59:04 +02:00
Grégoire Paris
76b9a741cf Check PHP configuration
Let us check that we are running PHPUnit in the right conditions,
otherwise we could get surprises such as no error output.
2025-10-11 13:48:34 +02:00
Grégoire Paris
0b40ed3d65 Merge pull request #67 from greg0ire/dev-file
Use development file
2025-10-10 20:44:15 +02:00
Grégoire Paris
42502ed176 Use development file
It seems that recent versions of PHPUnit have started honoring
display_errors. This prompted me to do this more global change, which
means we no longer mean to turn assertions on manually, since that is
done in the development INI file.
2025-10-10 18:38:34 +02:00
Pauline Vos
6db4a414a9 Update documentation.yml to reference docs builder 2025-10-09 13:47:03 +02:00
Grégoire Paris
6b8d93e394 Drop -q option when using phpcs
It was initially used because phpcs wrongly output things not intended
to be piped into other programs to stdout, such as the progress bar and
timing information.
2025-10-01 22:06:45 +02:00
dependabot[bot]
a687fc4bf6 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 04:54:40 +00:00
Grégoire Paris
70d5639007 Merge pull request #63 from greg0ire/remove-ci-label
Remove CI label
2025-08-11 08:57:39 +02:00
Grégoire Paris
f0ddcf8f73 Remove CI label
With dependabot, we are not maintaining the CI of this repository, we
are instead affecting workflows that will be used in our ecosystem of
libraries. A "CI" label would be misleading.

Plus, we do not have automatic releases setup here, and
probably never will, so there is little point in having labels.
2025-08-11 08:16:39 +02:00
dependabot[bot]
0d5a738ab2 Bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 04:30:14 +00:00
Michael Voříšek
c22d5bbcc2 Report all CS errors to CI 2025-05-07 10:22:11 +02:00
Grégoire Paris
af276f30e4 Upgrade phpdocumentor
It should fix pipeline issues observed on ORM
2025-03-08 12:09:34 +01:00
Grégoire Paris
f2ceefa941 fix: pin phpDocumentor
Sudden upgrades can lead to broken builds. For instance, the latest
versions require us to install phpDocumentor/filesystem. Let us do the
upgrades in a controlled way from time to time instead.
2025-02-03 20:44:58 +01:00
Grégoire Paris
2ff95c8fd8 Allow locking the deps
On doctrine/website, which is a regular Symfony application, we put the
composer.lock under version control, as we should.
In order to be able to have the same experience in the CI as we have
locally, we should use the same version of the dependencies.
To that end, let's allow passing the dependency-versions option to
ramsey/composer-install on workflows that are reused on
doctrine/website.
2025-01-30 21:48:50 +01:00
Grégoire Paris
297a67470c Merge pull request #55 from SenseException/website-schema
Website JSON schema for .doctrine-project.json
2024-12-10 23:07:52 +01:00
Claudio Zizza
d4e1cdaed6 Create website-schema workflow
Create json schema for website config

Outsource website-schema.json to doctrine website

Use long option in commands

Run workflow on Ubuntu 24.04

Create website-schema template
2024-12-10 23:05:00 +01:00
Grégoire Paris
4b328b8b95 Remove Psalm job
We have decided to stop running two static analysers on our repositories,
because of the extra maintenance it causes to us.
2024-12-10 08:43:09 +01:00
Grégoire Paris
1d4be832a3 Merge pull request #56 from greg0ire/php-8-4
Run jobs on PHP 8.4 by default
2024-11-25 22:05:15 +01:00
Grégoire Paris
b5bfddb54d Run jobs on PHP 8.4 by default 2024-11-25 20:35:46 +01:00
dependabot[bot]
5d3cdecaa1 Bump codecov/codecov-action from 4 to 5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 03:48:03 +00:00
Grégoire Paris
94ca5e5216 Add global issue templates
We also have PR templates at least in ORM, but I do not think they are
used at all, since you have to add a `?template=the_template.md`
parameter to enable them.
2024-10-14 21:17:43 +02:00
Grégoire Paris
c5b75c1285 Split static analysis workflow
This should allow downstream projects to better prepare for the Psalm
removal: they can use the new phpstan workflow whenever they want to
drop Psalm, and when all of them do, then we can drop the static
analysis workflow form this repository.
2024-10-09 09:28:56 +02:00
Grégoire Paris
0d3ee08e92 Avoid matrices unless needed 2024-10-08 17:35:47 +02:00
Grégoire Paris
1f5dd0d270 Implement documentation action
I did not make anything configurable because the right versions to use
depend more on doctrine/doctrine-website than on the consuming project
itself.
2024-09-28 13:44:56 +02:00
Gabriel Ostrolucký
36c5f0580e Merge pull request #45 from mvorisek/output-cs-diff 2024-05-21 10:43:47 +02:00
Michael Voříšek
cf6131cfab Dump PHPStan error identifiers 2024-05-19 10:05:29 +02:00
Michael Voříšek
476ce58071 output diff with colors 2024-05-18 00:41:25 +02:00
Michael Voříšek
c3c56747b4 show diff in the same job step 2024-05-17 21:19:39 +02:00
Michael Voříšek
0f68f86726 run on failure only 2024-05-17 13:28:07 +02:00
Michael Voříšek
a7e0286e18 Output PHP_CodeSniffer autofix diff in CI 2024-05-17 13:09:32 +02:00
Grégoire Paris
d0c832eeda Setup Dependabot for Github actions 2024-05-05 22:49:10 +02:00
Grégoire Paris
a7185c3484 Define secrets
It is not possible to use secrets without defining them beforehand.
2024-05-03 22:25:52 +02:00
Grégoire Paris
68b7e7e5c9 Provide CODECOV_TOKEN also when using the alternate CI workflow 2024-05-03 19:24:59 +02:00