1212 name : " Composer Validate"
1313 steps :
1414 - name : ' Checkout Code'
15- uses : actions/checkout@v2
15+ uses : actions/checkout@v4
16+
17+ - name : ' Setup PHP'
18+ uses : shivammathur/setup-php@v2
19+ with :
20+ php-version : 8.1
21+ ini-values : memory_limit=-1
22+ coverage : none
23+ tools : composer:v2
1624
1725 - name : ' Validate composer.json'
1826 run : composer validate --no-check-all --strict --no-check-lock
2331 name : " Composer Install"
2432 steps :
2533 - name : ' Checkout Code'
26- uses : actions/checkout@v2
34+ uses : actions/checkout@v4
35+
36+ - name : ' Setup PHP'
37+ uses : shivammathur/setup-php@v2
38+ with :
39+ php-version : 8.1
40+ ini-values : memory_limit=-1
41+ coverage : none
42+ tools : composer:v2
2743
2844 - name : ' Install Dependencies'
2945 run : composer install --prefer-dist --no-progress --no-interaction
3652 fail-fast : false
3753 steps :
3854 - name : ' Checkout Code'
39- uses : actions/checkout@v2
55+ uses : actions/checkout@v4
4056
4157 - name : ' Setup PHP'
4258 uses : shivammathur/setup-php@v2
5167 working-directory : ' ./'
5268
5369 - name : ' Run CodeSniffer'
54- run : ./vendor/bin/phpcs ./ -p --encoding=utf-8 --extensions=php --ignore="vendor|Tests|src|public " --standard=./vendor/escapestudios/symfony2-coding-standard/Symfony
55-
70+ run : ./vendor/bin/phpcs ./ -p --encoding=utf-8 --extensions=php --ignore="vendor|Tests" --standard=./vendor/escapestudios/symfony2-coding-standard/Symfony
71+
5672 static-analysis :
5773 needs : composer-install
5874 runs-on : ubuntu-latest
6177 fail-fast : false
6278 steps :
6379 - name : ' Checkout Code'
64- uses : actions/checkout@v2
80+ uses : actions/checkout@v4
6581
6682 - name : ' Setup PHP'
6783 uses : shivammathur/setup-php@v2
@@ -88,10 +104,10 @@ jobs:
88104 php-version :
89105 - ' 8.1'
90106 symfony-version :
91- - ' 6.1 '
107+ - ' 6.4 '
92108 steps :
93109 - name : ' Checkout Code'
94- uses : actions/checkout@v2
110+ uses : actions/checkout@v4
95111
96112 - name : ' Setup PHP'
97113 uses : shivammathur/setup-php@v2
@@ -118,7 +134,7 @@ jobs:
118134 fail-fast : false
119135 steps :
120136 - name : ' Checkout Code'
121- uses : actions/checkout@v2
137+ uses : actions/checkout@v4
122138
123139 - name : ' Setup PHP'
124140 uses : shivammathur/setup-php@v2
@@ -141,8 +157,9 @@ jobs:
141157 path : reports
142158
143159 - name : ' Upload to Codecov'
144- uses : codecov/codecov-action@v1
160+ uses : codecov/codecov-action@v3
145161 with :
146162 files : ./coverage.xml
147163 fail_ci_if_error : true
164+ flags : unittests
148165 verbose : true
0 commit comments