File tree Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change 1- # name: PHP Composer
1+ name : PHP Composer
22
3- # on:
4- # push:
5- # branches: [ "main" ]
6- # pull_request:
7- # branches: [ "main" ]
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
88
9- # permissions:
10- # contents: read
9+ permissions :
10+ contents : read
1111
12- # jobs:
13- # build:
14- # runs-on: ubuntu-latest
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
1515
16- # steps:
17- # - uses: actions/checkout@v4
16+ steps :
17+ - uses : actions/checkout@v4
1818
19- # - name: Validate composer.json and composer.lock
20- # run: composer validate --strict
19+ - name : Validate composer.json and composer.lock
20+ run : composer validate --strict
2121
22- # - name: Cache Composer packages
23- # id: composer-cache
24- # uses: actions/cache@v3
25- # with:
26- # path: vendor
27- # key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
28- # restore-keys: |
29- # ${{ runner.os }}-php-
22+ - name : Cache Composer packages
23+ id : composer-cache
24+ uses : actions/cache@v3
25+ with :
26+ path : vendor
27+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
28+ restore-keys : |
29+ ${{ runner.os }}-php-
3030
31- # - name: Install dependencies
32- # run: composer install --prefer-dist --no-progress
31+ - name : Install dependencies
32+ run : composer install --prefer-dist --no-progress
3333
34- # - name: Run PHPStan
35- # run: ./vendor/bin/phpstan
34+ - name : Run PHPStan
35+ run : ./vendor/bin/phpstan
3636
37- # - name: Run Pest tests
38- # run: ./vendor/bin/pest
37+ - name : Run Pest tests
38+ run : ./vendor/bin/pest
You can’t perform that action at this time.
0 commit comments