2121
2222jobs :
2323 xml-lint :
24- runs-on : ubuntu-latest
24+ runs-on : ubuntu-22.04
2525 name : info.xml lint
2626
2727 steps :
2828 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
29+
2930 - name : Download xml appinfo schema
3031 run : wget https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/api/v1/release/info.xsd
3132
3233 - name : Lint appinfo/info.xml
33- uses : ChristophWurst/xmllint-action@v1
34+ uses : ChristophWurst/xmllint-action@v1.1
3435 with :
3536 xml-file : ./appinfo/info.xml
3637 xml-schema-file : ./info.xsd
3738
3839 php-lint :
39- runs-on : ubuntu-latest
40+ runs-on : ubuntu-22.04
41+ name : php-lint
4042 strategy :
4143 matrix :
42- php-versions : ["7.4", "8.0", "8.1"]
43-
44- name : php-lint
44+ php-versions : ["8.0", "8.1"]
4545
4646 steps :
47- - name : Checkout
48- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
47+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
4948
5049 - name : Set up php ${{ matrix.php-versions }}
5150 uses : shivammathur/setup-php@v2
@@ -57,17 +56,19 @@ jobs:
5756 run : composer run lint
5857
5958 php-cs :
60- runs-on : ubuntu-latest
59+ runs-on : ubuntu-22.04
6160 name : php-cs
61+ strategy :
62+ matrix :
63+ php-versions : ["8.0", "8.1"]
6264
6365 steps :
64- - name : Checkout
65- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
66+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
6667
6768 - name : Set up php ${{ matrix.php-versions }}
6869 uses : shivammathur/setup-php@v2
6970 with :
70- php-version : 7.4
71+ php-version : ${{ maxtrix.php-versions }}
7172 coverage : none
7273
7374 - name : Install dependencies
7778 run : composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
7879
7980 php-psalm-analysis :
80- runs-on : ubuntu-latest
81+ runs-on : ubuntu-22.04
8182 strategy :
8283 matrix :
8384 php-versions : ["7.4", "8.0", "8.1"]
@@ -116,7 +117,7 @@ jobs:
116117 - name : Set up php ${{ matrix.php-versions }}
117118 uses : shivammathur/setup-php@v2
118119 with :
119- php-version : 7.4
120+ php-version : ${{ matrix.php-versions }}
120121 coverage : none
121122
122123 - name : Install dependencies
@@ -148,7 +149,7 @@ jobs:
148149 # sarif_file: results.sarif
149150
150151 js-eslint :
151- runs-on : ubuntu-latest
152+ runs-on : ubuntu-22.04
152153 name : eslint
153154
154155 steps :
@@ -160,7 +161,7 @@ jobs:
160161 run : npm run lint
161162
162163 stylelint :
163- runs-on : ubuntu-latest
164+ runs-on : ubuntu-22.04
164165
165166 name : stylelint
166167
0 commit comments