40
40
fail-fast : false
41
41
steps :
42
42
- name : Checkout
43
- uses : actions/checkout@v2
43
+ uses : actions/checkout@v3
44
44
- name : Setup PHP
45
45
uses : shivammathur/setup-php@v2
46
46
with :
66
66
SYMFONY_PHPUNIT_VERSION : ' 9.5'
67
67
steps :
68
68
- name : Checkout
69
- uses : actions/checkout@v2
69
+ uses : actions/checkout@v3
70
70
- name : Setup PHP
71
71
uses : shivammathur/setup-php@v2
72
72
with :
77
77
ini-values : memory_limit=-1
78
78
- name : Get composer cache directory
79
79
id : composercache
80
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
80
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
81
81
- name : Cache dependencies
82
- uses : actions/cache@v2
82
+ uses : actions/cache@v3
83
83
with :
84
84
path : ${{ steps.composercache.outputs.dir }}
85
85
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
89
89
- name : Install PHPUnit
90
90
run : vendor/bin/simple-phpunit --version
91
91
- name : Cache PHPStan results
92
- uses : actions/cache@v2
92
+ uses : actions/cache@v3
93
93
with :
94
94
path : /tmp/phpstan
95
95
key : phpstan-php${{ matrix.php }}-${{ github.sha }}
@@ -122,7 +122,7 @@ jobs:
122
122
fail-fast : false
123
123
steps :
124
124
- name : Checkout
125
- uses : actions/checkout@v2
125
+ uses : actions/checkout@v3
126
126
- name : Setup PHP
127
127
uses : shivammathur/setup-php@v2
128
128
with :
@@ -133,9 +133,9 @@ jobs:
133
133
ini-values : memory_limit=-1
134
134
- name : Get composer cache directory
135
135
id : composercache
136
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
136
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
137
137
- name : Cache dependencies
138
- uses : actions/cache@v2
138
+ uses : actions/cache@v3
139
139
with :
140
140
path : ${{ steps.composercache.outputs.dir }}
141
141
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -159,14 +159,14 @@ jobs:
159
159
fi
160
160
- name : Upload test artifacts
161
161
if : always()
162
- uses : actions/upload-artifact@v1
162
+ uses : actions/upload-artifact@v3
163
163
with :
164
164
name : phpunit-logs-php${{ matrix.php }}
165
165
path : build/logs/phpunit
166
166
continue-on-error : true
167
167
- name : Upload coverage results to Codecov
168
168
if : matrix.coverage
169
- uses : codecov/codecov-action@v1
169
+ uses : codecov/codecov-action@v3
170
170
with :
171
171
name : phpunit-php${{ matrix.php }}
172
172
flags : phpunit
@@ -196,7 +196,7 @@ jobs:
196
196
fail-fast : false
197
197
steps :
198
198
- name : Checkout
199
- uses : actions/checkout@v2
199
+ uses : actions/checkout@v3
200
200
- name : Setup PHP
201
201
uses : shivammathur/setup-php@v2
202
202
with :
@@ -207,9 +207,9 @@ jobs:
207
207
ini-values : memory_limit=-1
208
208
- name : Get composer cache directory
209
209
id : composercache
210
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
210
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
211
211
- name : Cache dependencies
212
- uses : actions/cache@v2
212
+ uses : actions/cache@v3
213
213
with :
214
214
path : ${{ steps.composercache.outputs.dir }}
215
215
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -241,14 +241,14 @@ jobs:
241
241
continue-on-error : true
242
242
- name : Upload test artifacts
243
243
if : always()
244
- uses : actions/upload-artifact@v1
244
+ uses : actions/upload-artifact@v3
245
245
with :
246
246
name : behat-logs-php${{ matrix.php }}
247
247
path : build/logs/behat
248
248
continue-on-error : true
249
249
- name : Upload coverage results to Codecov
250
250
if : matrix.coverage
251
- uses : codecov/codecov-action@v1
251
+ uses : codecov/codecov-action@v3
252
252
with :
253
253
name : behat-php${{ matrix.php }}
254
254
flags : behat
@@ -269,7 +269,7 @@ jobs:
269
269
tests/Fixtures/app/console api:openapi:export -o build/out/openapi/openapi_v3.json
270
270
tests/Fixtures/app/console api:openapi:export --yaml -o build/out/openapi/openapi_v3.yaml
271
271
- name : Setup node
272
- uses : actions/setup-node@v2
272
+ uses : actions/setup-node@v3
273
273
with :
274
274
node-version : ' 14'
275
275
- name : Validate OpenAPI documents
@@ -278,7 +278,7 @@ jobs:
278
278
npx git+https://github.com/soyuka/swagger-cli#master validate build/out/openapi/openapi_v3.yaml
279
279
- name : Upload OpenAPI artifacts
280
280
if : always()
281
- uses : actions/upload-artifact@v1
281
+ uses : actions/upload-artifact@v3
282
282
with :
283
283
name : openapi-docs-php${{ matrix.php }}
284
284
path : build/out/openapi
@@ -299,7 +299,7 @@ jobs:
299
299
PGPASSWORD : apiplatformrocks
300
300
steps :
301
301
- name : Checkout
302
- uses : actions/checkout@v2
302
+ uses : actions/checkout@v3
303
303
- name : Setup postgres
304
304
run : |
305
305
sudo systemctl start postgresql
@@ -316,9 +316,9 @@ jobs:
316
316
ini-values : memory_limit=-1
317
317
- name : Get composer cache directory
318
318
id : composercache
319
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
319
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
320
320
- name : Cache dependencies
321
- uses : actions/cache@v2
321
+ uses : actions/cache@v3
322
322
with :
323
323
path : ${{ steps.composercache.outputs.dir }}
324
324
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -355,7 +355,7 @@ jobs:
355
355
DATABASE_URL :
mysql://root:[email protected] /api_platform_test
356
356
steps :
357
357
- name : Checkout
358
- uses : actions/checkout@v2
358
+ uses : actions/checkout@v3
359
359
- name : Setup PHP
360
360
uses : shivammathur/setup-php@v2
361
361
with :
@@ -366,9 +366,9 @@ jobs:
366
366
ini-values : memory_limit=-1
367
367
- name : Get composer cache directory
368
368
id : composercache
369
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
369
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
370
370
- name : Cache dependencies
371
- uses : actions/cache@v2
371
+ uses : actions/cache@v3
372
372
with :
373
373
path : ${{ steps.composercache.outputs.dir }}
374
374
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -396,7 +396,7 @@ jobs:
396
396
MONGODB_URL : mongodb://localhost:27017
397
397
steps :
398
398
- name : Checkout
399
- uses : actions/checkout@v2
399
+ uses : actions/checkout@v3
400
400
- name : Check
401
401
run : |
402
402
sudo systemctl start mongod.service
@@ -412,9 +412,9 @@ jobs:
412
412
run : echo "COVERAGE=1" >> $GITHUB_ENV
413
413
- name : Get composer cache directory
414
414
id : composercache
415
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
415
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
416
416
- name : Cache dependencies
417
- uses : actions/cache@v2
417
+ uses : actions/cache@v3
418
418
with :
419
419
path : ${{ steps.composercache.outputs.dir }}
420
420
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -445,13 +445,13 @@ jobs:
445
445
continue-on-error : true
446
446
- name : Upload test artifacts
447
447
if : always()
448
- uses : actions/upload-artifact@v1
448
+ uses : actions/upload-artifact@v3
449
449
with :
450
450
name : behat-logs-php${{ matrix.php }}
451
451
path : build/logs/behat
452
452
continue-on-error : true
453
453
- name : Upload coverage results to Codecov
454
- uses : codecov/codecov-action@v1
454
+ uses : codecov/codecov-action@v3
455
455
with :
456
456
name : behat-php${{ matrix.php }}
457
457
flags : behat
@@ -479,7 +479,7 @@ jobs:
479
479
APP_ENV : elasticsearch
480
480
steps :
481
481
- name : Checkout
482
- uses : actions/checkout@v2
482
+ uses : actions/checkout@v3
483
483
- name : Configure sysctl limits
484
484
run : |
485
485
sudo swapoff -a
@@ -500,9 +500,9 @@ jobs:
500
500
ini-values : memory_limit=-1
501
501
- name : Get composer cache directory
502
502
id : composercache
503
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
503
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
504
504
- name : Cache dependencies
505
- uses : actions/cache@v2
505
+ uses : actions/cache@v3
506
506
with :
507
507
path : ${{ steps.composercache.outputs.dir }}
508
508
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -529,7 +529,7 @@ jobs:
529
529
SYMFONY_DEPRECATIONS_HELPER : max[total]=0
530
530
steps :
531
531
- name : Checkout
532
- uses : actions/checkout@v2
532
+ uses : actions/checkout@v3
533
533
- name : Setup PHP
534
534
uses : shivammathur/setup-php@v2
535
535
with :
@@ -540,9 +540,9 @@ jobs:
540
540
ini-values : memory_limit=-1
541
541
- name : Get composer cache directory
542
542
id : composercache
543
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
543
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
544
544
- name : Cache dependencies
545
- uses : actions/cache@v2
545
+ uses : actions/cache@v3
546
546
with :
547
547
path : ${{ steps.composercache.outputs.dir }}
548
548
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -570,7 +570,7 @@ jobs:
570
570
# SYMFONY_DEPRECATIONS_HELPER: max[direct]=0
571
571
steps :
572
572
- name : Checkout
573
- uses : actions/checkout@v2
573
+ uses : actions/checkout@v3
574
574
- name : Setup PHP
575
575
uses : shivammathur/setup-php@v2
576
576
with :
@@ -581,11 +581,11 @@ jobs:
581
581
ini-values : memory_limit=-1
582
582
- name : Get composer cache directory
583
583
id : composercache
584
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
584
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
585
585
- name : Allow unstable project dependencies
586
586
run : composer config minimum-stability dev
587
587
- name : Cache dependencies
588
- uses : actions/cache@v2
588
+ uses : actions/cache@v3
589
589
with :
590
590
path : ${{ steps.composercache.outputs.dir }}
591
591
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -612,7 +612,7 @@ jobs:
612
612
fail-fast : false
613
613
steps :
614
614
- name : Checkout
615
- uses : actions/checkout@v2
615
+ uses : actions/checkout@v3
616
616
- name : Setup PHP
617
617
uses : shivammathur/setup-php@v2
618
618
with :
@@ -625,11 +625,11 @@ jobs:
625
625
run : sudo apt-get install moreutils
626
626
- name : Get composer cache directory
627
627
id : composercache
628
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
628
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
629
629
- name : Allow unstable project dependencies
630
630
run : composer config minimum-stability dev
631
631
- name : Cache dependencies
632
- uses : actions/cache@v2
632
+ uses : actions/cache@v3
633
633
with :
634
634
path : ${{ steps.composercache.outputs.dir }}
635
635
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -659,7 +659,7 @@ jobs:
659
659
DATABASE_URL : sqlite:///%kernel.project_dir%/var/data.db
660
660
steps :
661
661
- name : Checkout
662
- uses : actions/checkout@v1
662
+ uses : actions/checkout@v3
663
663
- name : Setup PHP with pre-release PECL extension
664
664
uses : shivammathur/setup-php@v2
665
665
with :
@@ -670,9 +670,10 @@ jobs:
670
670
ini-values : memory_limit=-1
671
671
- name : Get composer cache directory
672
672
id : composercache
673
- run : echo "::set-output name=dir::$(composer config cache-files-dir)"
673
+ run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
674
+ shell : bash
674
675
- name : Cache dependencies
675
- uses : actions/cache@v2
676
+ uses : actions/cache@v3
676
677
with :
677
678
path : ${{ steps.composercache.outputs.dir }}
678
679
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -700,7 +701,7 @@ jobs:
700
701
DATABASE_URL : sqlite:///%kernel.project_dir%/var/data.db
701
702
steps :
702
703
- name : Checkout
703
- uses : actions/checkout@v1
704
+ uses : actions/checkout@v3
704
705
- name : Setup PHP with pre-release PECL extension
705
706
uses : shivammathur/setup-php@v2
706
707
with :
@@ -711,9 +712,10 @@ jobs:
711
712
ini-values : memory_limit=-1
712
713
- name : Get composer cache directory
713
714
id : composercache
714
- run : echo "::set-output name=dir::$(composer config cache-files-dir)"
715
+ run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
716
+ shell : bash
715
717
- name : Cache dependencies
716
- uses : actions/cache@v2
718
+ uses : actions/cache@v3
717
719
with :
718
720
path : ${{ steps.composercache.outputs.dir }}
719
721
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
0 commit comments