11name : build
22on :
3+ workflow_dispatch :
34 pull_request :
45 branches : [ "main" ]
56 push :
@@ -17,11 +18,11 @@ jobs:
1718 runs-on : " ubuntu-latest"
1819 steps :
1920 - name : Checkout
20- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
2122 - name : Setup PHP
2223 uses : shivammathur/setup-php@v2
2324 with :
24- php-version : ' 8.2 '
25+ php-version : ' 8.3 '
2526 coverage : none
2627 tools : composer-normalize
2728 env :
@@ -34,11 +35,11 @@ jobs:
3435 runs-on : " ubuntu-latest"
3536 steps :
3637 - name : Checkout
37- uses : actions/checkout@v3
38+ uses : actions/checkout@v4
3839 - name : Setup PHP
3940 uses : shivammathur/setup-php@v2
4041 with :
41- php-version : ' 8.2 '
42+ php-version : ' 8.3 '
4243 coverage : none
4344 tools : cs2pr, phpcs
4445 env :
@@ -51,30 +52,28 @@ jobs:
5152 runs-on : " ubuntu-latest"
5253 steps :
5354 - name : Checkout
54- uses : actions/checkout@v3
55+ uses : actions/checkout@v4
5556 - name : Setup PHP
5657 uses : shivammathur/setup-php@v2
5758 with :
58- php-version : ' 8.2 '
59+ php-version : ' 8.3 '
5960 coverage : none
6061 tools : cs2pr, php-cs-fixer
6162 env :
6263 fail-fast : true
6364 - name : Code style (php-cs-fixer)
6465 run : php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
65- env :
66- PHP_CS_FIXER_IGNORE_ENV : 1
6766
6867 phpstan :
6968 name : Code analysis (phpstan)
7069 runs-on : " ubuntu-latest"
7170 steps :
7271 - name : Checkout
73- uses : actions/checkout@v3
72+ uses : actions/checkout@v4
7473 - name : Setup PHP
7574 uses : shivammathur/setup-php@v2
7675 with :
77- php-version : ' 8.2 '
76+ php-version : ' 8.3 '
7877 coverage : none
7978 tools : composer:v2, phpstan
8079 env :
8382 id : composer-cache
8483 run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
8584 - name : Cache dependencies
86- uses : actions/cache@v3
85+ uses : actions/cache@v4
8786 with :
8887 path : ${{ steps.composer-cache.outputs.dir }}
8988 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -98,10 +97,10 @@ jobs:
9897 runs-on : " ubuntu-latest"
9998 strategy :
10099 matrix :
101- php-versions : ['7.3', '7.4', '8.0', '8.1', '8.2']
100+ php-versions : ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
102101 steps :
103102 - name : Checkout
104- uses : actions/checkout@v3
103+ uses : actions/checkout@v4
105104 - name : Setup PHP
106105 uses : shivammathur/setup-php@v2
107106 with :
@@ -114,7 +113,7 @@ jobs:
114113 id : composer-cache
115114 run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
116115 - name : Cache dependencies
117- uses : actions/cache@v3
116+ uses : actions/cache@v4
118117 with :
119118 path : ${{ steps.composer-cache.outputs.dir }}
120119 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
0 commit comments