1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
Commit Graph

34 Commits

Author SHA1 Message Date
0f41831e59 Fix windows CI 2023-10-19 13:14:59 +02:00
ec959e95d7 Merge remote-tracking branch 'origin/master' into strict_types 2023-10-19 11:28:39 +02:00
Bruce Weirdan
7428e49b11
Merge branch '5.x' into upstream-master 2023-09-11 13:13:34 +02:00
dependabot[bot]
49492235fe
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 07:29:32 +00:00
Bruce Weirdan
2911a67099
Show PHP version 2023-08-13 21:05:21 +02:00
6b54ea2d38
Merge branch 'fix_intersection_scanning' into strict_types 2023-07-25 10:10:27 +02:00
1ad9fc66f8
Fixes 2023-07-25 10:09:29 +02:00
a2e4961dca
Fix CI 2023-07-24 09:32:46 +02:00
Bruce Weirdan
44ffd5fb46
Merge pull request #9492 from weirdan/refuse-invalid-php-versions 2023-03-12 02:58:53 -04:00
Bruce Weirdan
c917826ff8
Pass COMPOSER_ROOT_VERSION to composer update
when we don't have full git history
2023-03-12 02:15:47 -04:00
Bruce Weirdan
08add38449
Optimize composer caching
Previously our composer package cache would not be updated because we
had no `composer.lock` (which hash is used as part of the cache key).

Generating `composer.lock` (but not installing packages) before we check
the cache fixes this.
2023-03-12 02:08:04 -04:00
Bruce Weirdan
ec4f8ebaa3
Refuse to use PHP versions we did not request
There were a number of test failures caused by setup-php failing to
install the required PHP version. While we certainly should fix our
failing tests, we also need to be sure which PHP version we're using.

This PR does exactly that.
2023-03-12 01:45:23 -04:00
484043a5a1 Enable JIT 2023-02-20 13:55:06 +01:00
a01c634878 Run tests with opcache 2023-02-20 13:50:12 +01:00
Bruce Weirdan
ffb393ca97
Switch shell instead of tweaking quotes 2023-02-09 14:42:22 -04:00
Bruce Weirdan
89024ffbc2
Quote paths 2023-02-09 03:54:25 -04:00
Bruce Weirdan
c7ef4580c3
Update workflows to use non-deprecated method offf setting step output
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-02-09 03:35:58 -04:00
Corey Taylor
d6eca8c056 Verify nullable callmap parameters 2022-12-23 06:04:35 -06:00
AndrolGenhald
285740a753 Merge branch '4.x' 2022-07-07 15:01:38 -05:00
orklah
b1568920ee
Merge pull request #8210 from vimeo/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-06-30 19:30:34 +02:00
dependabot[bot]
005d3e2f50
build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 17:05:08 +00:00
dependabot[bot]
236c24faea
build(deps): bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 17:05:06 +00:00
naveen
bd50c4e7b0 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-28 00:29:16 +00:00
orklah
2966f1c9d4
Merge pull request #7107 from AndrolGenhald/feature/5482-load-extensions-based-on-composer-config
Enable extensions based on composer.json instead of those loaded at runtime (fixes #5482).
2022-01-28 18:45:52 +01:00
AndrolGenhald
35353c6931 Re-add failing assert, enable assertions on CI. 2022-01-27 21:29:43 -06:00
AndrolGenhald
4672e5a324 Disable all PHP extensions for CI except those required by psalm. 2022-01-27 16:30:14 -06:00
Bruce Weirdan
18fbaeeda5
Attempt to avoid timeouts 2021-12-30 14:38:58 +02:00
Bruce Weirdan
1ae2bff5ff
Speed up Windows tests
Enable multiple workers for Windows, just like we do on Linux already.
2021-12-30 14:30:06 +02:00
Bruce Weirdan
d99485671b
Disable coverage (and xdebug) on CI
I'd expect to see some performance gains here.
2021-11-29 08:07:14 +02:00
orklah
7ac7b03b4c configs for windows 2021-07-25 01:01:10 +02:00
orklah
7926681e6f Use paratest 2021-07-25 00:43:09 +02:00
orklah
31ec26d73a simplify windows ci 2021-07-25 00:27:05 +02:00
orklah
348628fe90 fix trigger? 2021-07-25 00:12:31 +02:00
orklah
a550dea83d test migrate windows ci to github actions 2021-07-25 00:09:44 +02:00