Commit graph

35 commits

Author SHA1 Message Date
Andy Scherzinger
acdf2c8147
ci: Pin actions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2026-02-01 15:21:37 +01:00
Daniel Kesselberg
79c6cd9e01
ci: fail psalm when baseline update required
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-30 15:35:31 +01:00
provokateurin
06d47f19e0
ci(psalm): Add missing imagick extension
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-29 08:15:56 +01:00
provokateurin
7bf75b9724
fix(psalm): Enable findUnusedBaselineEntry
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-23 11:20:15 +02:00
Joas Schilling
e63aee4dd8
fix(CI): Update setup-php, setup-node, checkout and paths-filter actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-17 10:50:22 +02:00
dependabot[bot]
b23ebbefb5
chore(deps): Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-16 02:49:07 +00:00
Joas Schilling
27a4ad4b5a
ci: Turn off builds for pushes and merges to master/stable*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 12:12:59 +01:00
Joas Schilling
6def538154
ci: Specify concurrency to help with consecutive pushes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 11:47:47 +01:00
dependabot[bot]
7e2bcef41c
chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8ade135a41...b4ffde65f4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:10:17 +00:00
dependabot[bot]
130180c5cf chore(deps): 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...8ade135a41bc03ea155e62e844d188df1ea18608)

---
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-10-10 15:53:07 +02:00
dependabot[bot]
81fe4a9fe3
chore(deps): 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...3df4ab11eba7bda6032a0b82a6bb43b11571feac)

---
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-18 17:15:30 +00:00
Joas Schilling
d6ce50082e
fix(psalm): Install apcu, ftp and ldap extension like in static-code-analysis-security
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 00:19:25 +02:00
Joas Schilling
373147ac02
fix(CI): Temporary workaround - Run Psalm CI with 1 thread only so it finishes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-01 23:47:21 +02:00
Christoph Wurst
936babe17e
ci(psalm): Install ftp extension for security scans
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-24 13:21:47 +01:00
Christoph Wurst
6c2d9ec73e
ci(psalm): Install ldap extension for security scans
Otherwise Psalm runs into tons of `UndefinedConstant`

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-24 13:20:08 +01:00
Joas Schilling
766f38dc73
Save some CI time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 08:08:18 +01:00
Joas Schilling
664c7113ae
ci(psalm): Generate base analysis on pushes so we can compare to updated reports
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-01-27 10:08:53 +01:00
Côme Chilliet
d2204a71c6
Always show the psalm baseline change, even on failure
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:13 +01:00
Côme Chilliet
9acb982333
Prettify static-code-analysis.yml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:10 +01:00
Côme Chilliet
f6ed727b3f
Always upload psalm result to github
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:10 +01:00
Côme Chilliet
e8299d4826
Merge back the two static analysis workflows together
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:10 +01:00
Joas Schilling
48d6000468
chore(CI): Improve rate limit situation when installing phpunit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-03 13:33:49 +01:00
John Molakvoæ
eab9ed6e09
fix(actions): Update psalm github action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:46:48 +01:00
John Molakvoæ
0dc1aef292
chore(actions): update php min supported to 8.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-29 10:37:27 +01:00
MichaIng
faeeb03020 Remove iconv from further tests
as of: https://github.com/nextcloud/server/pull/29470

Some tests were missing in: https://github.com/nextcloud/server/pull/29958

Signed-off-by: MichaIng <micha@dietpi.com>
2021-12-31 17:32:43 +01:00
Morris Jobke
b4403201dc
Change output format of Psalm to Github
This automatically inlines the errors into the diff view.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-10-03 14:41:31 +02:00
Christoph Wurst
ab3424ad44
Add ext-zip as platform dependency
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-03 10:10:28 +02:00
Roeland Jago Douma
fe65f8facf
Add dedicated baseline for OCP
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-30 11:06:00 +01:00
Morris Jobke
106c8d719c
Do not fail on changes to baseline.xml
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-13 21:55:37 +02:00
Christoph Wurst
081e9ac47f
Use own psalm instead of a global one
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-13 17:55:37 +02:00
Morris Jobke
50784a7c51
Generate psalm-baseline.xml PR instead of requiring this from the PR author itself
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-20 12:34:29 +02:00
Morris Jobke
4db7829f43
Better psalm CI output
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 18:16:35 +02:00
Morris Jobke
42bb6cd7d7
Check only the baseline.xml and exclude the psalm.xml from the file check
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:10 +02:00
Morris Jobke
80056e081a
Add a check for fixes in the psalm baseline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-18 13:01:05 +02:00
Daniel Kesselberg
7257793fc4
Hello psalm
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-18 08:58:19 +02:00