11---
22
3- name : ci
4-
53on : # yamllint disable-line rule:truthy
64 push :
75 branches :
@@ -10,20 +8,24 @@ on: # yamllint disable-line rule:truthy
108 branches :
119 - master
1210
11+ name : 🔍 Continuous integration
12+
1313jobs :
1414 integration :
15- name : Testing on PHP ${{ matrix.php }} - ${{ matrix.os }}
15+ name : 🧪 Testing on PHP ${{ matrix.php }} - ${{ matrix.os }}
1616 runs-on : ${{ matrix.os }}
1717 strategy :
1818 fail-fast : true
1919 matrix :
2020 os : ["ubuntu-22.04"]
21- php : ["8.1"]
21+ php : ["8.1", "8.2" ]
2222 steps :
23- - name : Check out the codebase
23+ - name : 📦 Check out the codebase
2424 uses : actions/checkout@v3
25+ with :
26+ fetch-depth : 0
2527
26- - name : Setup PHP
28+ - name : 🛠️ Setup PHP
2729 uses : shivammathur/setup-php@v2
2830 with :
2931 php-version : ${{ matrix.php }}
@@ -32,24 +34,26 @@ jobs:
3234 tools : composer:v2
3335 coverage : none
3436
35- - name : Load cached dependencies
37+ - name : ♻️ Load cached dependencies
3638 id : cached-composer-dependencies
3739 uses : actions/cache@v3
3840 with :
3941 path : vendor
4042 key : vendor-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
4143
42- - name : Install dependencies
44+ - name : ⚙️ Install dependencies
4345 if : steps.cached-composer-dependencies.outputs.cache-hit != 'true'
4446 run : composer install
4547
46- - name : Run coding standards task
48+ - name : 🚨 Run coding standards task
4749 run : make cs-diff
50+ env :
51+ PHP_CS_FIXER_IGNORE_ENV : true
4852
49- - name : Execute phpunit tests
53+ - name : 🧪 Execute phpunit tests
5054 run : make test
5155
52- - name : Run static analysis using phpstan
56+ - name : 📝 Run static analysis using phpstan
5357 run : make stan
5458
5559...
0 commit comments