Skip to content

Commit d5ef945

Browse files
committed
Use alternative image with newest version
1 parent 160fa27 commit d5ef945

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/codestyle.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,35 @@ jobs:
3939
webapp/public
4040
webapp/config
4141
42+
phpcs_compatibility_new_style:
43+
runs-on: ubuntu-latest
44+
container:
45+
image: domjudge/gitlabci:24.04
46+
strategy:
47+
matrix:
48+
PHPVERSION: ["8.1", "8.2", "8.3", "8.4", "8.5"]
49+
steps:
50+
- uses: actions/checkout@v4
51+
- name: Trigger the plugin
52+
run: |
53+
olddir=`pwd`
54+
cd /
55+
composer install
56+
cd "$olddir"
57+
- name: Detect compatibility with supported PHP version
58+
run: >
59+
/vendor/bin/phpcs -s -p --colors
60+
--standard=PHPCompatibility
61+
--extensions=php
62+
--runtime-set testVersion ${{ matrix.PHPVERSION }}
63+
lib/lib.*.php
64+
etc
65+
judge
66+
webapp/src
67+
webapp/tests
68+
webapp/public
69+
webapp/config
70+
4271
phpcs_compatibility:
4372
runs-on: ubuntu-latest
4473
container:

0 commit comments

Comments
 (0)