Commit Graph

282 Commits

Author SHA1 Message Date
dependabot[bot]
dea7031b86 Bump actions/cache from 2 to 3 (#5044)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 15:15:52 +01:00
Dylan K. Taylor
d9d02d526a Updated PHP versions for GitHub Actions 2022-04-19 15:06:00 +01:00
Dylan T
824f1f24ff Build release Docker images on GitHub Actions (#4891)
this has been tested on a fork using GitHub Container Registry, but we'll have to do an actual release to test if it will work with Docker Hub. However, I don't expect there to be any problems.

This is one of two remaining jobs to be migrated off Jenkins.
2022-03-20 01:03:27 +00:00
Dylan K. Taylor
31a0085efb Update setup-php-action to pmmp/setup-php-action@aa636a4fe0 2022-02-19 19:26:30 +00:00
Dylan K. Taylor
715355e148 Update GitHub Actions to PHP 8.0.16. 2022-02-19 19:20:08 +00:00
Dylan K. Taylor
0973472842 actions: bump to 8.0.14 2022-01-13 21:23:23 +00:00
Dylan K. Taylor
248cc0ef49 actions: colorize diff output on CS failure 2022-01-10 22:06:07 +00:00
Dylan K. Taylor
bc18969a09 Merge branch 'stable' 2021-11-26 23:45:09 +00:00
Dylan K. Taylor
7ace24caab Fixed borked build number
this was a problem before the recent clean-up; the only reason it just decided to show now is because 2000+25 is valid PHP code, so PHP saved our asses.
2021-11-26 23:36:19 +00:00
Dylan K. Taylor
533d3aae8b Merge branch 'stable' 2021-11-26 22:41:18 +00:00
Dylan K. Taylor
71b813d4f9 Define pocketmine\BUILD_NUMBER from phar metadata
this way we don't have to patch the code (no idea why we were doing that anyway).
2021-11-26 22:27:58 +00:00
Dylan K. Taylor
4c07078586 Merge branch 'stable' 2021-11-08 19:01:08 +00:00
Dylan K. Taylor
eb3530b6e6 Use pmmp/setup-php-action to compile PHP 2021-11-07 23:13:56 +00:00
Dylan K. Taylor
566c57bcd3 we no longer need submodules for these jobs 2021-11-06 00:35:39 +00:00
Dylan K. Taylor
102277c636 draft-release: fixed BedrockData JSON minification 2021-11-02 19:16:36 +00:00
Dylan K. Taylor
8a2ecfe1d4 Merge branch 'stable' 2021-10-29 19:04:01 +01:00
Dylan K. Taylor
986b4e0651 Enforce single-line PhpDoc for properties where possible 2021-10-21 20:32:37 +01:00
Dylan K. Taylor
2971bf30a5 actions: combine code verify into one step
this way the diff takes one less click to get to.
2021-10-21 00:30:19 +01:00
Dylan K. Taylor
bbd925abc4 Merge commit '974d08efd62c52c1c8ac92cb1b67ac157908fd71' 2021-10-12 23:31:50 +01:00
Dylan K. Taylor
974d08efd6 Bump PHP minimum requirement to 8.0
PHPStan failed on 7.4 after updating to 0.12.99, and I figured it was less hassle to just do this than fix the build. In any case, we stopped shipping 7.4 months ago, and warned at 3.22 release that 7.4 support would soon be dropped.
2021-10-09 20:09:42 +01:00
Dylan K. Taylor
f9e6fd44bc Merge branch 'stable'
it looks like I goofed up the last merge and the changelog didn't get
merged into master.
2021-10-02 20:18:06 +01:00
Dylan K. Taylor
a11cf8c296 Update PHP versions used by GitHub Actions 2021-09-28 20:52:40 +01:00
Dylan K. Taylor
43ac3fbf3e actions: use newer PHP versions 2021-09-22 00:51:06 +01:00
Dylan K. Taylor
87dc763d92 actions: test that generated code is consistent 2021-09-17 16:46:27 +01:00
Dylan K. Taylor
57e2b16139 Dropped PreProcessor 2021-09-07 14:04:52 +01:00
Dylan K. Taylor
806f03bd37 consistency ... 2021-09-07 13:00:28 +01:00
Dylan K. Taylor
39820be836 draft-release: preprocess only src of dependencies
p sure we had this problem already somewhere else? ...
2021-09-07 12:59:32 +01:00
Dylan K. Taylor
7276e9610c fixing draft-release for PM4 2021-09-07 12:49:39 +01:00
Dylan K. Taylor
64347e9499 Merge branch 'stable' 2021-09-07 12:45:52 +01:00
Dylan K. Taylor
466107d3b8 actions: fix release build shitting the bed 2021-09-05 15:45:07 +01:00
Dylan K. Taylor
1c2eb35025 actions: fixed bad git hash on published releases 2021-09-05 15:32:31 +01:00
Dylan K. Taylor
b4b3c21d30 Merge branch 'stable' 2021-08-19 15:39:16 +01:00
Dylan T
cd3c96aad2 shivammathur/setup-php 2.12.0 2021-08-19 02:31:18 +01:00
Dylan T
7bd8d09023 GitHub Actions: automatically build and upload release artifacts, and auto-update update.pmmp.io (#4376) 2021-08-18 14:02:52 +01:00
Dylan K. Taylor
e561fa6222 actions: update PHP versions 2021-08-16 23:14:17 +01:00
Dylan K. Taylor
3319fad863 Fix build error 2021-07-26 20:33:44 +01:00
Dylan K. Taylor
2b5667a56b Move PHP minimum to 8.0 2021-07-26 20:29:39 +01:00
Dylan K. Taylor
09eac0e129 Merge remote-tracking branch 'origin/stable' 2021-07-26 20:14:33 +01:00
Dylan K. Taylor
01fe497c49 phpstan: use PHP 8.0 as primary version
I'm using 8.0 for local development now, so having the phpstan configs targeted at 7.4 by default makes things inconvenient.
2021-07-26 14:34:47 +01:00
Dylan K. Taylor
58498c2b0b Merge remote-tracking branch 'origin/stable' 2021-07-23 16:40:19 +01:00
Dylan K. Taylor
81c5b83bd9 actions: test on 8.0 2021-07-23 15:55:01 +01:00
Dylan K. Taylor
ac8b13ee36 actions: don't preprocess anything except dependency src 2021-07-14 20:47:07 +01:00
Dylan K. Taylor
c7868a810d Move PHP minimum to 7.4
7.3 isn't actively tested anymore, and since 7.4 has been out for so long already, it doesn't make sense to keep pandering to users who can't be bothered to update their PHP binaries.
In most cases, these users are also experiencing problems caused by older versions of pthreads that were long since fixed.
In addition, pthreads is no longer tested or supported on 7.3, so users can't get newer bug fixes even if they wanted to.
2021-06-13 15:34:24 +01:00
Dylan K. Taylor
920eb7cce5 Merge branch 'stable' 2021-06-09 13:46:00 +01:00
Dylan K. Taylor
65c53e6512 actions: use PHP 7.4.20 2021-06-09 13:44:00 +01:00
Dylan K. Taylor
4c4db1836f Merge remote-tracking branch 'origin/stable' 2021-05-11 19:28:09 +01:00
Dylan K. Taylor
5a7736b179 actions: go with PHP 7.4.19 2021-05-10 20:30:08 +01:00
Dylan K. Taylor
5116e11cea Only install the stuff we need to run PHP, not to build it 2021-05-10 17:55:52 +01:00
Dylan K. Taylor
4ca5558ec1 Merge remote-tracking branch 'origin/stable' 2021-05-05 11:14:01 +01:00
Dylan K. Taylor
c29cd8e2eb actions: added PHP script to update versions 2021-05-04 22:21:45 +01:00