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

110 Commits

Author SHA1 Message Date
dependabot[bot]
f4e518c350
build(deps): bump mheap/github-action-required-labels from 1 to 2
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels) from 1 to 2.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases)
- [Commits](https://github.com/mheap/github-action-required-labels/compare/v1...v2)

---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 17:04:59 +00:00
orklah
ebb2ca2b3b
Merge pull request #8203 from turrisxyz/Dependabot-GitHub-Actions
chore: Included githubactions in the dependabot config
2022-06-30 19:04:39 +02:00
naveen
4c9747203e chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-30 01:29:15 +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
Sam Mousa
037c9ed118
ci: run tests on php 8.1 2022-06-14 15:29:46 +02:00
Bruce Weirdan
8455d71a9b Run Shepherd with 8.0
Because installing packages with 8.1 and checking them as if we're
running 7.1 just doesn't work.
2022-05-29 23:34:06 +03:00
Bruce Weirdan
c3ea97949d
Fix syntax check failures
They were caused by installing packages with `--ignore-platform-reqs`
which brought PHP 8.1 autoloaded packages and caused fatal errors when
running php-parallel-lint. Instead of ignoring platform requirements we
now remove packages that are incompatible with PHP 7.1 (phpunit and its
dependents).
2022-05-29 00:24:11 -04:00
Bruce Weirdan
9784fe4999
Use lowest supported PHP version for shepherd run
Having Psalm installed under 8.1 leads to installing composer
dependencies that use PHP syntax incompatible with 7.4, however Psalm
analyzes itself using 7.4 parser.
2022-05-28 16:51:17 -04:00
Bruce Weirdan
220d656706
Added backward compatibility check 2022-02-04 04:15:32 +02: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
AndrolGenhald
2fe4fc397c Enable extensions based on composer.json instead of those loaded at runtime (fixes #5482). 2022-01-27 16:30:14 -06:00
Bruce Weirdan
fa33632958
Bump PHP version to 7.4
Also exclude 8.2+ for now - we don't know if current Psalm version would
be compatible with that.
2022-01-04 10:25:00 +02:00
Bruce Weirdan
b41722ef74
Added 'release:removed' as a valid PR label 2022-01-02 13:41:15 +02: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
AndrolGenhald
466696cda4 Remove decimal extension from Windows CI. 2021-12-08 13:39:13 -06:00
AndrolGenhald
5808d4ea83 Add decimal extension to CI. 2021-12-08 12:10:31 -06: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
Bruce Weirdan
08f824228f
Added 'Removed' section to release notes 2021-11-03 22:11:53 +02:00
Bruce Weirdan
72b03dc30b
Added check for release:* labels 2021-10-31 14:45:03 +02:00
Bruce Weirdan
5500ce575a
Add 'documentation' label to Docs category 2021-10-24 01:01:21 +03:00
Bruce Weirdan
99e510d6ab
Add catch-all category 2021-10-24 00:08:14 +03:00
Bruce Weirdan
2c26007176
Added mapping of labels to release categories 2021-10-24 00:06:10 +03:00
sasezaki
82d6e4c83b exclude dictionaries/scripts from lint 2021-10-05 09:57:06 +09:00
sasezaki
9879aba283 Lint all *.php files, not only src 2021-10-05 09:39:10 +09: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
Bruce Weirdan
1128687621
Always build Phar on release events (#5982)
Refs vimeo/psalm#5968, vimeo/psalm#5703 and many others
2021-06-22 18:04:19 -04:00
Bruce Weirdan
4a8e94444f
Prevent concurrent phar pushes (#5563)
Fixes vimeo/psalm#5346
2021-04-03 23:59:40 -04:00
Bruce Weirdan
7e61012359
Add linting to prevent embarassing errors (#5209)
* Added linting to prevent embarassing errors

Refs vimeo/psalm#5201

* Ignore unused requirements
2021-02-12 17:03:03 -05:00
Matthew Brown
6ff2ddf46c
Add explicit env 2021-02-11 13:59:52 -05:00
Matthew Brown
33de34f0d5
Run action on every master push 2021-02-11 13:52:10 -05:00
Matthew Brown
e8bc05fe6c
Fix path 2021-02-11 13:47:19 -05:00
Matthew Brown
6e1df9c5cf
Add psalm/phar deployment 2021-02-11 13:46:45 -05:00
Matthew Brown
37fb081baa
Bump up to 8 concurrent builds 2021-01-11 18:19:11 -05:00
Ben Davies
53afd2857d
Split unit test over multiple jobs in GitHub Actions, lowering the total run time (#4985)
* Split unit test over multiple jobs in GitHub Actions, lowering the total run time

* rename FileManipulationTest to FileManipulationTestCase so it does not run as a standalone Test
2021-01-11 17:30:33 -05:00
Matthew Brown
d8e815ef6b
Limit to releases again 2021-01-11 15:51:26 -05:00
Matthew Brown
51f0c58f3b Fix signing 2021-01-11 15:15:14 -05:00
Matt Brown
00f3ccbb3a Maybe fix signing 2021-01-11 14:37:17 -05:00
Matthew Brown
0e8e44a986
Also push signed phar for master commits 2021-01-11 13:27:58 -05:00
Bruce Weirdan
7f9712dc92
Added GHA workflow to build phars (#4974) 2021-01-11 13:16:44 -05:00
Bruce Weirdan
373c0bb963
Added a workflow to test on PHP 8 / Linux (#4790)
Currently we already test on PHP 8 on AppVeyor, but the failures there
may be windows-specific, so it makes sense to test on Linux as well
2020-12-06 11:33:43 -05:00
Matthew Brown
6cb520d687
Run on pull_request too 2020-02-24 11:31:20 -05:00
Matthew Brown
fa65ab8168 Add support for Github Actions output
Fixes #2678
2020-01-23 07:14:48 -05:00
Andreas Möller
224d6ebf2f Fix: Set environment variable via env section (#2598) 2020-01-12 10:39:08 -05:00
Markus Staab
3a18b169af Update to latest checkou action (#2559) 2020-01-06 16:41:03 -05:00
Matthew Brown
f74e0d4613
Fix composery thing 2019-12-02 22:23:18 -05:00
Matthew Brown
c8de27f647
Fix name 2019-12-02 22:18:47 -05:00
Matthew Brown
e8e0d6e2d2
Add Psalm again 2019-12-02 22:18:16 -05:00
Matthew Brown
0bc6d71173 Add some tracing when using GitHub Actions in CI 2019-12-01 16:49:08 -05:00
Matthew Brown
f0c30763d4 Another test 2019-12-01 16:34:10 -05:00
Matthew Brown
d54ab7763b Try again 2019-12-01 16:24:21 -05:00
Matthew Brown
73aa48afed Use different docker thing 2019-12-01 16:00:23 -05:00
Matthew Brown
404d6be5c0
Fix args 2019-12-01 15:33:04 -05:00
Matthew Brown
959430531b
Test GitHub actions 2019-12-01 15:31:39 -05:00